BranchProtectionRules Object ​
The unique identifier for the protection rule
The name or description of the protection rule
The repositories this rule applies to
The branch/ref pattern this rule applies to
Whether this protection rule is currently active
Require approval from designated owners
List of required validations/checks
Restrictions on who can write to the branch
Whether write restrictions are active
List of user IDs allowed to write
List of group/team IDs allowed to write
List of role names allowed to write
Restrictions on who can integrate/merge changes
Whether integration restrictions are active
List of user IDs allowed to integrate
List of group/team IDs allowed to integrate
List of role names allowed to integrate
Allow the branch to be deleted
User who created this protection rule
When the rule was created
When the rule was last updated
Raw data returned from the remote API call.