octokit.rest

Get a GitHub Pages site

Parameters

string The token will be passed in the authorization header.

string

string

Request

GET https://api.github.com/repos///pages
authorization: bearer undefined
accept: application/vnd.github.v3+json
user-agent: octokit.rest


Example Response

Status: 200
{
  "url": "https://api.github.com/repos/github/developer.github.com/pages",
  "status": "built",
  "cname": "developer.github.com",
  "custom_404": false,
  "html_url": "https://developer.github.com",
  "source": {
    "branch": "master",
    "path": "/"
  }
}

See documentation on GitHub developer guides