Skip to content

Formation API

Liam Boudadi edited this page Feb 5, 2025 · 19 revisions

Listing existing formations

GET / (gets all in-memory formation details)

Parameters

None

Responses
http code content-type response
200 json [{"id": .., "name": .., "description": ..}, ...]
Example cURL
 curl --location 'http://localhost:8080/formation/formations' --header 'Authorization: Bearer {jwt}'

Listing details of the requested formation

GET / (gets details about the formation requested)

Parameters

name type data type description
None required object (JSON or YAML) N/A
Responses
http code content-type response
200 json {"id": .., "name": .., "description": ..}
404 N/A N/A
Example cURL
 curl --location 'http://localhost:8080/formation/{id}' --header 'Authorization: Bearer {jwt}'

Clone this wiki locally