Provides link to API documentation and a list of available HTTP verbs for the Agent path.
OPTIONS /agents
Example URL: https://test.rmap-hub.org/api/agents
none
none
| Header | Value |
|---|---|
| Allow | HEAD, OPTIONS, GET |
| Link | <https://link_to_documentation>; rel="http://purl.org/dc/terms/description" |
{"description":"https://link_to_documentation"}
| Code | Description |
|---|---|
| 200 | OK |
| 500 | Internal server error |
| 503 | Service unavailable |
- If the system is working correctly, an OK response will be returned with a list of available HTTP methods in the header, a link to the technical documentation as specified in the
rmapapi.documentationPathproperty, and information about the API as JSON in the body.
curl -i -X OPTIONS https://test.rmap-hub.org/api/agents
HTTP/1.1 200 OK
Allow: HEAD,OPTIONS,GET
Link: <https://github.com/rmap-project/rmap-documentation/>;rel="http://purl.org/dc/elements/1.1/description"
{"description":"http://purl.org/dc/elements/1.1/description"}