The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for GitHub Pages
Use the REST API to interact with GitHub Pages sites and builds.
- REST API endpoints for GitHub Pages
- Get a GitHub Enterprise Server Pages site
- Create a GitHub Enterprise Server Pages site
- Update information about a GitHub Enterprise Server Pages site
- Delete a GitHub Enterprise Server Pages site
- List GitHub Enterprise Server Pages builds
- Request a GitHub Enterprise Server Pages build
- Get latest Pages build
- Get GitHub Enterprise Server Pages build
- Create a GitHub Pages deployment
- Get the status of a GitHub Pages deployment
- Cancel a GitHub Pages deployment