Protected Branches API becomes an official part of API v3 on September 1st
The Protected Branches API will be graduating from preview mode on September 1, 2017.
During the preview period you needed to provide the application/vnd.github.loki-preview+json
preview media type in the Accept header to opt-in to the changes. Once the preview period ends, you won't have to specify this custom media type.
There will be two breaking changes when the preview gets removed:
We will be removing this endpoint PATCH /repos/:owner/:repo/branches/:branch
. The breaking change was announced on 06-27-2016.
We will also now be requiring required-pull-request-reviews
when calling the \protection
endpoint. This breaking change was announced on 12-08-2016.
Please update your environments accordingly and if you have any questions, get in touch.