Number of APIs: 5
POST {{baseUrl}}/apis/{{apiId}}/versions
Creates a new API version asynchronously and immediately returns an HTTP This endpoint is equivalent to publishing a version in Qodex app, which is the snapshot of API collections and schema at a given point in time. Include the following properties in the request body: You can include the following optional properties:202 Accepted
response. The response contains a polling link to the task status API in the Location
header.
name
— A string value that contains the version name.collections
— An array containing all the collections to publish.schemas
— An array containing the schema to publish.branch
— A string value that contains the name of the repository branch. This property is required only for Git-linked APIs.
releaseNotes
— A string value that contains the Markdown-supported version summary.
GET {{baseUrl}}/apis/{{apiId}}/versions
Gets all the published versions of an API.
GET {{baseUrl}}/apis/{{apiId}}/versions/{{versionId}}
Gets information about an API version. Note:
302 Found
status code when the version status is pending. It also returns the /apis/{apiId}/tasks/{taskId}
task status response header.404 Not Found
when the version status is pending.
PUT {{baseUrl}}/apis/{{apiId}}/versions/{{apiVersionId}}
Updates an API version. Include at least one of the following properties in the request body: Note: This endpoint returns an HTTP
name
— A string value that contains the version name.releaseNotes
— A string value that contains the Markdown-supported release notes.404 Not Found
response when an API version is pending publication.
DELETE {{baseUrl}}/apis/{{apiId}}/versions/{{versionId}}
Deletes an API version. Note: This endpoint returns an HTTP 404 Not Found
response when an API version is pending publication.
ENDPOINTS