Get a version
GET {{baseUrl}}/apis/{{apiId}}/versions/{{versionId}}
Gets information about an API version.
Note:
- For API editors, this endpoint returns an HTTP
302 Found
status code when the version status is pending. It also returns the/apis/{apiId}/tasks/{taskId}
task status response header. - For API viewers, this endpoint returns an HTTP
404 Not Found
when the version status is pending.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"version":{"createdAt":"2022-06-09T14:48:45.000Z","updatedAt":"2022-06-09T19:50:49.000Z","id":"3563baaa-07a2-46ed-9fd2-0e8a3c5f7ec2","name":"Release 1.0","releaseNotes":"This is the first release.","schemas":[{"id":"C1","type":"openapi:3"}],"collections":[{"id":"C1","name":"collection1"},{"id":"C2","name":"collection2"}]}}