Skip to content
GitmoapAPIBeta
Schema

EffectiveBranchRuleResponse

Shape

  • allow_force_pushboolean
  • allowed_to_mergeAccessLevelguestreporterdevelopermaintainerowner
  • allowed_to_pushAccessLevelguestreporterdevelopermaintainerowner
  • branch_patternstring
  • branch_rule_idstring
  • merge_allowlistarray of string
  • push_allowlistarray of string
  • require_code_owner_approvalboolean
  • sourceBranchRuleSource

Example

Synthesized example
{
"allow_force_push": false,
"allowed_to_merge": "guest",
"allowed_to_push": "guest",
"branch_pattern": "branch-pattern-65e7",
"branch_rule_id": "b05b3eb5-3821-49c0-8a70-bb5c77e8ce95",
"merge_allowlist": [
"merge-allowlist-f856"
],
"push_allowlist": [
"push-allowlist-38b3",
"push-allowlist-c51c"
],
"require_code_owner_approval": false,
"source": {
"id": "id-e459",
"type": "type-e76a"
}
}

Graph

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.