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.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status
ENDPOINTS