Get a GitHub Enterprise Server Pages site
Path Parameters
Response
application/json
Response
Response
GitHub Pages
The configuration for GitHub Pages for a repository.
The API address for accessing this Page resource.
Example:https://api.github.com/repos/github/hello-world/pages
The status of the most recent build of the Page.
Allowed values:builtbuildingerrored
Example:built
The Pages site’s custom domain
Example:example.com
The state if the domain is verified
Allowed values:pendingverifiedunverified
Example:pending
The timestamp when a pending domain becomes unverified.
Whether the Page has a custom 404 page.
Default:false
Example:false
The web address the Page can be accessed from.
Example:https://example.com
Show Child Parameters
Whether the GitHub Pages site is publicly visible. If set to true
, the site is accessible to anyone on the internet. If set to false
, the site will only be accessible to users who have at least read
access to the repository that published the site.
Example:true
Show Child Parameters
Whether https is enabled on the domain
Example:true
Path Parameters
Create a GitHub Enterprise Server Pages site
Configures a GitHub Enterprise Server Pages site. For more information, see “About GitHub Pages.”
Path Parameters
Body
application/json
Body
The source branch and directory used to publish your Pages site.
The source branch and directory used to publish your Pages site.
Show Child Parameters
Response
application/json
Response
Response
GitHub Pages
The configuration for GitHub Pages for a repository.
The API address for accessing this Page resource.
Example:https://api.github.com/repos/github/hello-world/pages
The status of the most recent build of the Page.
Allowed values:builtbuildingerrored
Example:built
The Pages site’s custom domain
Example:example.com
The state if the domain is verified
Allowed values:pendingverifiedunverified
Example:pending
The timestamp when a pending domain becomes unverified.
Whether the Page has a custom 404 page.
Default:false
Example:false
The web address the Page can be accessed from.
Example:https://example.com
Show Child Parameters
Whether the GitHub Pages site is publicly visible. If set to true
, the site is accessible to anyone on the internet. If set to false
, the site will only be accessible to users who have at least read
access to the repository that published the site.
Example:true
Show Child Parameters
Whether https is enabled on the domain
Example:true
Path Parameters
Body
Update information about a GitHub Enterprise Server Pages site
Updates information for a GitHub Enterprise Server Pages site. For more information, see "About GitHub Pages.
Path Parameters
Body
application/json
Body
Any Of
Response
Response
Response
Path Parameters
Body
Delete a GitHub Enterprise Server Pages site
Path Parameters
Response
Response
Response
Path Parameters
List GitHub Enterprise Server Pages builds
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
200 application/json
Response
Response
Page Build
Show Child Parameters
Simple User