curl --request POST \
--url https://api.example.com/api/projects/{projectId}/releases \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"commitId": "<string>",
"status": "draft",
"versionType": "patch"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deletedAt": "<string>",
"name": "<string>",
"description": "<string>",
"version": 123,
"semanticVersion": "<string>",
"status": "draft",
"createdById": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"commitId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"meta": {
"bucket": "<string>",
"key": "<string>"
}
}Create a new release from the current project state or a specific commit.
curl --request POST \
--url https://api.example.com/api/projects/{projectId}/releases \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"commitId": "<string>",
"status": "draft",
"versionType": "patch"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deletedAt": "<string>",
"name": "<string>",
"description": "<string>",
"version": 123,
"semanticVersion": "<string>",
"status": "draft",
"createdById": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"commitId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"meta": {
"bucket": "<string>",
"key": "<string>"
}
}Personal access token is obtained through your profile
Project unique identifier
Release name
Release description
Commit ID to create the release from (v2 projects only)
Initial release status
draft, published, completed Version increment type for semantic versioning
major, minor, patch Created release information
Created release information
Release unique identifier
Release creation timestamp
Project ID the release belongs to
Release deletion timestamp
Release name
Release description
Legacy numeric version
Semantic version (e.g., 1.0.0)
Release status
draft, published, completed ID of the user who created the release
Associated commit ID
Release storage metadata
Show child attributes
Was this page helpful?