-
Notifications
You must be signed in to change notification settings - Fork 0
Authentification API
Liam Boudadi edited this page Feb 5, 2025
·
13 revisions
GET / (gets all in-memory formations details)
None
http code content-type response 200json[{"id": {int}, "name": {string}, "description": {string}}, ...]
curl -L -X GET 'http://localhost:8080/formation/formations' -H 'Authorization: Bearer {jwt}'
GET /{formationId} (gets details about the formation requested)
name type data type description formationId required int The specific formation id
http code content-type response 200json{"id": {int}, "name": {string}, "description": {string}}404N/A
curl -L -X GET 'http://localhost:8080/formation/{formationId}' -H 'Authorization: Bearer {jwt}'