Apps
Promote staging to production
Changed onPromote 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
Request
- Base URLhttps://api.mixpeek.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
app_idstring required
App ID (e.g. app_abc123def456)
Response
Successful Response
Changes
- warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning
- info
the endpoint scheme security
BearerAuthwas added to the API
- info