services
create endpoint
Changed onpost/services/{id}/endpoints
Request
- Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/services/{id}/endpoints
- Auth: API key in header Authorization
Path parameters
idstring text required
Example:CS:ORG:Client:myService.v1
id of the service
Request body
Example request
{
"service_code": "example_service_code",
"client_id": "FI:GOV:123:ABC",
"method": "GET",
"path": "/foo",
"generated": true
}Response
endpoint added
Example response
{
"service_code": "example_service_code",
"client_id": "FI:GOV:123:ABC",
"method": "GET",
"path": "/foo",
"generated": true
}Changes
- ○
added the optional property
to the response with the status
- ○
- ●
removed the optional property
from the response with the status
- ●