Skip to main content
POST
Approve an application's Launch Plan

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

Body

application/json

A plan-level approval of the application's live Launch Plan.

plan_hash
string
required

plan_hash from the Launch Plan read the approver saw.

cluster_id
string
required

The cluster the application launches on.

action_keys
string[]
required

The approved actions, each a key the plan derives for this target.

Variables whose value Ankra may write; every other approved variable is covered by name only.

accepted_decisions
string[]

Every decision the plan leaves to a person, accepting its default.

pull_request_numbers
integer[]

Setup pull requests on the application's repository, each proven by Ankra, to merge.

expires_in_seconds
integer | null

Lifetime of the approval, 60 to 86400 seconds; one hour when omitted.

Response

The recorded approval

One plan-level approval: who approved which exact plan (plan_hash) for which action list (action_list_hash), on which cluster, until when, and what was claimed under it.

id
string
required
application_id
string
required
cluster_id
string
required
approved_by
string
required
commit_sha
string
required
plan_hash
string
required
action_list_hash
string
required
schema_version
string
required
actions
LaunchPlanApprovalAction · object[]
required
accepted_decisions
string[]
required
status
enum<string>
required
Available options:
active,
expired,
revoked
created_at
string<date-time>
required
expires_at
string<date-time>
required
revoked_at
string<date-time> | null
required
claims
Claims · object[]
required