Skip to content

Endpoints HTTP

Tous les endpoints exposés par l'application exemple NENE2. Chaque réponse JSON suit les schémas définis dans docs/openapi/openapi.yaml.

Santé et diagnostics

MéthodeCheminAuthRéponse
GET/healthAucune200 { service, status[, checks] } ou 503 si dégradé
GET/examples/pingAucune200 { message }
GET/Aucune200 { name, description, status } réponse JSON

Notes

MéthodeCheminAuthSuccèsErreurs
GET/examples/notesAucune200 liste422
POST/examples/notesAucune201 note400, 413, 422
GET/examples/notes/{id}Aucune200 note404, 413
PUT/examples/notes/{id}Aucune200 note400, 404, 413, 422
DELETE/examples/notes/{id}Aucune204404

Tags

MéthodeCheminAuthSuccèsErreurs
GET/examples/tagsAucune200 liste422
POST/examples/tagsAucune201 tag400, 413, 422
GET/examples/tags/{id}Aucune200 tag404
PUT/examples/tags/{id}Aucune200 tag400, 404, 422
DELETE/examples/tags/{id}Aucune204404

Protégé (client machine)

MéthodeCheminAuthSuccèsErreurs
GET/examples/protectedX-NENE2-API-Key ou Bearer200 JSON401

Les erreurs suivent RFC 9457 Problem Details.

Publié sous licence MIT.