App Deployments

Promote Deployment

Promote a built deployment to serve traffic.

409 when the state machine forbids it -- a deployment cannot become deployed without having been built, and a failed one cannot be revived.

post/apps/{app_id}/deployments/{deployment_id}/promote

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/apps/{app_id}/deployments/{deployment_id}/promote
  • Auth: HTTP bearer

Path parameters

app_idstring required
deployment_idstring required

Headers

Authorizationstring nullable
X-Org-Idstring nullable

Request body

image_digeststring required

The built image digest being promoted. Recorded so a rollback targets an artifact rather than a rebuild.

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.