List API collections

List all API collections. The endpoint returns the project_id of the project to which the collections belong in the response.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

per_pageintegerOptional

Number of API collections to return in a single page. Defaults to 100. Max is 100.

pageintegerOptional

Page number of the API collections to fetch. Defaults to 1.

Response

Success reply
idinteger or null
The ID of the API collection.
namestring or null
The name of the API collection.
versionstring or null
The version number of the API collection.
urlstring or null
The URL of the API collection.
api_spec_urlstring or null
The URL of the specification file for the API collection.
created_atstring or null
Timestamp in ISO 8601 format when the API collection was created.
updated_atstring or null
Timestamp in ISO 8601 format when the API collection was last updated.
project_idinteger or null
The ID of the project where the API collection is stored.

Errors