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 Cloud Pages site
- Create a GitHub Enterprise Cloud Pages site
- Update information about a GitHub Enterprise Cloud Pages site
- Delete a GitHub Enterprise Cloud Pages site
- List GitHub Enterprise Cloud Pages builds
- Request a GitHub Enterprise Cloud Pages build
- Get latest Pages build
- Get GitHub Enterprise Cloud 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