API Version
List API Versions
Returns a list of versions for an API. The version can be of type OpenAPI or AsyncAPI. Note: You can only have one version for an API.
get/v3/apis/{apiId}/versions
Query parameters
page[size]integer
Example:10
The maximum number of items to include per page. The last page of a collection may include fewer items.
page[number]integer
Example:1
Determines which page of the entities to retrieve.
Filters API Version in the response.
sortstring
The asc suffix is optional as the default sort order is ascending. The desc suffix is used to specify a descending order. Multiple sort attributes may be provided via a comma separated list. JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar desc').
Example:created_at desc
Sorts a collection of API versions. Supported sort attributes are:
- created_at
Response
List of API specifications (OpenAPI or AsyncAPI)
Example response
{
"meta": {
"page": {
"number": 1,
"size": 10,
"total": 100
}
},
"data": [
{
"id": "7710d5c4-d902-410b-992f-18b814155b53",
"spec": {
"type": "oas3"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}
]
}