v10

latestOpenAPI 3.1.02026-08-085671,1112.8 MB
Apps

Promote staging to production

Promote the current staging deployment to production.

Copies environments.staging (deploy_id, asset_prefix) to environments.production and updates build_config.asset_prefix for backward compatibility. Also invalidates the canvas asset cache so the new production version is served immediately.

post/v1/apps/{app_id}/promote

Path parameters

app_idstring required

App ID (e.g. app_abc123def456)

App ID (e.g. app_abc123def456)

Response

Successful Response

app_idstring required
versioninteger nullable
deploy_idstring required
environmentstring
asset_prefixstring required