GitHub Pages features become an official part of the REST API
The features that are a part of the GitHub Pages mister-fantastic-preview
are now available on GitHub.com and will be available in the next versions of GitHub Enterprise (2.19 and higher). You will no longer need to pass a preview header to use most GitHub Pages API endpoints.
Preview media type no longer needed
Now that the preview period has ended (first announced in July 2016), you no longer need to pass the mister-fantastic-preview
custom media type. Instead, we recommend that you specify v3 as the version in the Accept header:
application/vnd.github.v3+json
Please note that if you use GitHub Enterprise versions 2.8 to 2.18, you will still need to provide this custom media type in the Accept header:
application/vnd.github.mister-fantastic-preview+json
Onward! Thanks again to everyone that tried out these GitHub Pages API features during the preview period.