API Specification (v2)¶
Fetched live from the acceptance API, so it always shows what the service
declares right now. Every /v2 route is described โ the backend's tests fail
when one is not. Test Request calls acceptance and never production, on
purpose.
Tick a parameter to send it
In Test Request, a query or header parameter is sent only when its row is ticked. Typing a value into a row does not tick it, and an unticked value is silently left out, so the service answers as if the parameter were absent. The checkbox is the only reliable sign of what is sent: the address shown at the top of the panel does not list the query string, even for a parameter that is ticked and sent.
For example, GET /norms with valid_on typed in but not ticked returns
"valid_on" as today's date โ the documented default when the parameter is
absent โ rather than the date you typed.
This reference renders /v2/openapi.json. The /v1 routes have their own
document, rendered the same way on API Specification (v1);
/v1/norms is deprecated in favour of /v2/norms โ see the
stability contract.
For base URLs, the /api/* legacy aliases and the error format, see
Backend Architecture. For how this
page is wired and what it depends on at run time, see
OpenAPI Rendering.