Skip to main content
POST
/
v1
/
apps
/
{app_id}
/
promote
Promote staging to production
curl --request POST \
  --url https://api.mixpeek.com/v1/apps/{app_id}/promote \
  --header 'Authorization: Bearer <token>'
{
  "app_id": "<string>",
  "deploy_id": "<string>",
  "asset_prefix": "<string>",
  "version": 123,
  "environment": "production"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

app_id
string
required

App ID (e.g. app_abc123def456)

Response

Successful Response

Response after promoting staging to production.

app_id
string
required
deploy_id
string
required
asset_prefix
string
required
version
integer | null
environment
string
default:production