Skip to content
GitmoapAPIBeta
Schema

ManualApproval

An approval gate on a step. With no approvers, anyone with Developer access to the repository may decide; a list narrows the decision to the people, teams and roles it names, as they stand when the approval is given. On a step that deploys to an environment requiring approval, the list may only name approvers the environment also names.

Shape

  • approversarray of ApproverRefoptional
  • requiredinteger · int32 or nulloptional0–∞Distinct approvals needed, 1–10. On a gated environment the larger of this and the environment's own count applies.

Example

Synthesized example
{
"approvers": [
{
"anyone": {}
}
],
"required": 83
}

Graph

Used inside
Contains

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.