repos
Get a GitHub Enterprise Cloud Pages site
Gets information about a GitHub Enterprise Cloud Pages site.
OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
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
}