repos
Get a GitHub Enterprise Server Pages site
Gets information about a GitHub Enterprise Server Pages site.
A token with the repo scope is required. GitHub Apps must have the pages:read permission.
get/repos/{owner}/{repo}/pages
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
Response
Response
Example response
{
"url": "https://api.github.com/repos/github/hello-world/pages",
"status": "built",
"cname": "example.com",
"protected_domain_state": "pending",
"html_url": "https://example.com",
"build_type": "legacy",
"public": true,
"https_certificate": {
"state": "approved",
"description": "Certificate is approved",
"domains": [
"example.com",
"www.example.com"
]
},
"https_enforced": true
}