Skip to content
GitmoapAPIBeta
Schema

ListBranchRulesResponse

Shape

  • itemsarray of RepositoryBranchRuleResponse
    • The RepositoryBranchRuleResponse schema
    • allow_force_pushboolean
    • allowed_to_mergeAccessLevelguestreporterdevelopermaintainerowner
    • allowed_to_pushAccessLevelguestreporterdevelopermaintainerowner
    • branch_patternstring
    • branch_rule_idstring
    • merge_allowlistarray of string
    • push_allowlistarray of string
    • repository_idstring
    • require_code_owner_approvalboolean
  • next_tokenstring or nulloptional

Example

Synthesized example
{
"items": [
{
"allow_force_push": false,
"allowed_to_merge": "guest",
"allowed_to_push": "guest",
"branch_pattern": "branch-pattern-bf4a",
"branch_rule_id": "9802f6ea-be5c-4087-bc73-b2b08f167af1",
"merge_allowlist": [],
"push_allowlist": [],
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"require_code_owner_approval": false
}
],
"next_token": "next-token-e27f"
}

Graph

Used inside

No schema contains this one.

Used by

Sent by 0 operations

No operation takes it as a request body.