Skip to content
GitmoapAPIBeta
Schema

ListEffectiveBranchRulesResponse

Shape

  • itemsarray of EffectiveBranchRuleResponse
    • The EffectiveBranchRuleResponse schema
    • 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
  • next_tokenstring or nulloptional

Example

Synthesized example
{
"items": [
{
"allow_force_push": false,
"allowed_to_merge": "guest",
"allowed_to_push": "guest",
"branch_pattern": "branch-pattern-75ad",
"branch_rule_id": "827de09d-c2c9-4199-b48d-9508dbeb9b26",
"merge_allowlist": [],
"push_allowlist": [],
"require_code_owner_approval": false,
"source": {
"id": "id-56ff",
"type": "type-4cc1"
}
},
{
"allow_force_push": false,
"allowed_to_merge": "guest",
"allowed_to_push": "guest",
"branch_pattern": "branch-pattern-a9c0",
"branch_rule_id": "645f421c-d551-4549-9c52-49a73cb6cb52",
"merge_allowlist": [],
"push_allowlist": [],
"require_code_owner_approval": false,
"source": {
"id": "id-a7ca",
"type": "type-aa92"
}
}
],
"next_token": "next-token-6b2c"
}

Graph

Used inside

No schema contains this one.

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.