{METHOD} {URL} {HEADER:VALUE} {BODY} === {CODE} {HEADER:VALUE} {BODY} ~~~ Si {CAS ALTERNATIF 1} ... ~~~ Si {CAS ALTERNATIF 1} ...Par exemple:
GET /article/:id/comments Accept: application/json === 200 Content-Type: [ { ... } ] ~~~ Si aucuns comments []
Grille d'évaluation - Analyse API, 10%
0 2 3 4 4.5 5
0 2 3 4 4.5 5
___ / 10
Échelle de notation
0 Absent, médiocre
2 Insatisfaisant
3 Minimal
4 Satisfaisant
4.5 Ajustements mineurs
5 Excellent