-
Notifications
You must be signed in to change notification settings - Fork 0
Formation API
Liam Boudadi edited this page Feb 5, 2025
·
19 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 / (gets details about the formation requested)
name type data type description None required int formation id
http code content-type response 200json{"id": {int}, "name": {string}, "description": {string}} 404N/A
curl -L -X GET 'http://localhost:8080/formation/{id}' -H 'Authorization: Bearer {jwt}'
GET / (gets all in-memory quizzes details)
None
http code content-type response 200json[{"id": {int}, "json": {string}}, ...]
curl -L -X GET 'http://localhost:8080/formation/quiz' -H 'Authorization: Bearer {jwt}'
GET / (gets details about the quiz requested)
name type data type description None required int quiz id
http code content-type response 200json{"id": {int}, "json": {string}} 404N/A
curl -L -X GET 'http://localhost:8080/formation/quiz/{id}' -H 'Authorization: Bearer {jwt}'