Promote a verified dev artifact to prod

Activates the immutable artifact from the current succeeded dev deployment in prod without rebuilding it.

post/v1/projects/{project_id}/deployments/{source_deployment_id}:promote

Request

  • Base URL: https://app.ohmyho.st
  • URL: https://app.ohmyho.st/v1/projects/{project_id}/deployments/{source_deployment_id}:promote
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project identifier.

source_deployment_idstring required

Current succeeded dev deployment whose immutable artifact will be promoted.

Headers

X-Request-Idstring

Optional caller-provided correlation identifier.

Idempotency-Keystring required

Identifies one mutation and its canonical request payload.

If-Matchstring required

Use resource_etag from a fresh rollback, promotion, deletion or data-change plan. For a project address change, use etag from project status; an ETag from another representation is not accepted.

X-Confirmation-Tokenstring required

Opaque, single-action token bound to the planned action, project, target resource, and resource ETag.

Ten-minute token bound to the planned action, project, target resource, and resource ETag.

Response

The mutation was accepted for asynchronous processing.

blocking_operation_idstring
deployment_idstring
idstring required
state'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' required
created_atstring date-time required
updated_atstring date-time required
resultobject

Changes

No recorded changes to this operation across all 1 revision of this API.