Information Requests
Requesting the API Version or Spec.
Overview
Information Requests are basic requests used to obtain information about the API and its endpoints. Unlike all other requests, Information Requests do not require an API key to be provided to complete the request.
The two types of information requests are the Version and Spec requests, both are dependent on utilizing the API's OpenAPI Specification (spec.yaml
), also called the API Spec, in order to successfully complete the request.
Version Request
The Version Request, a GET
request sent to the /version
endpoint, is a request used to obtain the current version of Sagittarius A* as recorded within the API Spec. The version information is read from the API Spec by the request handler and then returned in the output.
When a Version Request completes successfully, the returned output will be in JSON format, and contain the current version of Sagittarius A*.
API Spec Request
The API Spec Request, a GET
request sent to the /spec
endpoint, is a request used to obtain a copy of the API's current OpenAPI Specification. The entire API Spec is read from spec.yaml
by the request handler and then returned in the output.
When an API Spec Request completes successfully, the returned output will contain the a copy of the entire API Spec that has been converted into JSON format from the YAML.
Last updated