GitHub Pages API

The GitHub Pages API lets you manage GitHub Pages sites for repositories, including creating, updating, and deleting sites, configuring custom domains and HTTPS enforcement, and triggering and monitoring Pages builds. GitHub Pages hosts static websites directly from a repository branch or GitHub Actions workflow.

Documentation

API entry from apis.yml

apis.yml Raw ↑
aid: github:github-pages-api
name: GitHub Pages API
tags:
- Hosting
- Pages
baseURL: https://api.github.com
humanURL: https://docs.github.com/en/rest/pages?apiVersion=2022-11-28
properties:
- url: https://docs.github.com/en/rest/pages
  type: Documentation
description: The GitHub Pages API lets you manage GitHub Pages sites for repositories, including creating,
  updating, and deleting sites, configuring custom domains and HTTPS enforcement, and triggering and monitoring
  Pages builds. GitHub Pages hosts static websites directly from a repository branch or GitHub Actions
  workflow.