Skip to content
GitmoapAPIBeta
Schema

ApprovalRuleStanding

One approval rule, as the merge check found it.

Shape

  • approvalsarray of ApprovalStandingEvery recorded approval, with whether it counts toward this rule.
    • The ApprovalStanding schema
    • bystringThe approver's username.
    • countsboolean
    • principal_idPrincipalId (string · uuid)
    • reasonApprovalExclusionstalecannot_approvenot_an_approverservice_account_not_acceptedagent_not_acceptedsign_in_requiredauthorcommitterlast_pusheror nulloptionalWhy it does not count, when it does not.
  • namestring
  • receivedinteger · int320–∞Distinct approvals that count.
  • requiredinteger · int320–∞
  • rule_idApprovalRuleId (string · uuid)
  • satisfiedboolean

Example

Synthesized example
{
"approvals": [
{
"by": "by-bead",
"counts": false,
"principal_id": "de5c358a-04c6-4c50-b7ef-e49364af0281"
}
],
"name": "payments-api",
"received": 3,
"required": 55,
"rule_id": "5d365898-88d1-4b94-b2a8-e9282ad524b7",
"satisfied": false
}

Graph

Used inside

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.