Versions
Create a new version
Creates a new version in the given project. Optionally accepts settings (referenced versions, repository settings, visibility) to fully configure the version in a single call. When the idempotentKey query parameter is provided, returns an existing version with the same key instead of creating a duplicate.
post/projects/{projectId}/versions
Request
- Base URLhttps://app.ketryx.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
idempotentKeystring
Optional idempotency key. If a version with this key already exists in the project, that version is returned instead of creating a new one.
Request body
Example request
{
"name": "My project",
"versionNumber": "1.0.7",
"referencedVersions": [
{
"project": {
"id": "KXPRJ49GQYFQ5RR9KRTPWTRTC39YZ9W"
},
"version": {
"id": "KXPRJ49GQYFQ5RR9KRTPWTRTC39YZ9W"
}
}
],
"repositorySettings": [
{
"url": "https://github.com/Ketryx/test-project-js"
}
]
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.