Skip to main content
POST
/
revisions
/
{build_id}
/
promote
Promote revision
curl --request POST \
  --url https://api.duvo.ai/v1/revisions/{build_id}/promote \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "revision_name": "<string>",
  "revision_description": "<string>"
}
'
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.duvo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Duvo dashboard.

Path Parameters

build_id
string<uuid>
required

The build's unique identifier

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Body

application/json
revision_name
string

Optional display name to set on the promoted revision.

Required string length: 1 - 80
revision_description
string | null

Optional description for the promoted revision. Pass null to clear an existing description.

Maximum string length: 500

Response

Default Response

success
boolean
required