Note: this is a PREVIEW api: https://developer.github.com/changes/2016-06-27-protected-branches-api-update/
Constructors
Properties
-
Debugger
Display -
Enforce
Admins Specifies whether the protections applied to this branch also apply to repository admins -
Required
Pull Required review settings for the protected branchRequest Reviews -
Required
Status Status check settings for the protected branchChecks - Restrictions Push access restrictions for the protected branch