API structure#
The platform uses multiple services, for segregating business purpose as well as distribution of requests.Endpoint versioning#
All API requests are made to endpoints in the format VERB /v#/(controller)/(action+args), where the version number is used to control breaking changes to the request or response structure.For simplicity, unless a specific endpoint version is required, the documentation refers only to VERB controller/action.The endpoints GET /v1/user/corps and GET /v2/user/corps would be referred to as GET user/corps, unless the version change was significant to the functionality.
Deprecation#
Deprecated endpoints will be marked as Deprecated with a solution (such as, "use version X instead"). Responses from deprecated endpoints will include a Warning header with value 299.200 OK
...
Warning: 299 - "Deprecated API action (use v2)"