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 Pages site
- Create a GitHub Pages site
- Update information about a GitHub Pages site
- Delete a GitHub Pages site
- List GitHub Pages builds
- Request a GitHub Pages build
- Get latest Pages build
- Get GitHub Pages build
- Create a GitHub Pages deployment
- Get the status of a GitHub Pages deployment
- Cancel a GitHub Pages deployment
- Get a DNS health check for GitHub Pages