Skip to main content
GET
Preview a promotion between two environments

Authorizations

Authorization
string
header
required

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

Path Parameters

application_id
string
required

Query Parameters

source_environment_id
string
required
target_environment_id
string
required

Response

Successful Response

The confirmation's data: what would move, what the target serves now, what differs and stays, and every reason the promotion would be refused. Three-valued throughout.

application_id
string
required
read_state
enum<string>
required
Available options:
ok,
unknown
read_reason
string
required
state
enum<string>
required

unknown when a read behind the verdict failed (read_reason names it) - never ready.

Available options:
ready,
already_current,
blocked,
unknown
source
ApplicationPromotionPreviewSource · object | null
required

What the source environment runs. image_tag and commit_sha are null when its installations disagree or carry none - never "".

target
ApplicationPromotionPreviewTarget · object | null
required

What the target environment runs now and how it is updated.

blockers
ApplicationPromotionBlocker · object[]
required
secrets
ApplicationPromotionSecrets · object | null
required
config_differences
ApplicationPromotionConfigDifference · object[]
required