The Protected Branches API now has a setting for requiring up to 6 approving pull request reviews. You can manage and view this setting from four endpoints:
- Get branch protection
- Update branch protection
- Get pull request review protection
- Update pull request review protection
How can I try it?
To access this functionality during the preview period, you’ll need to provide the following custom media type in the Accept header: