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
Show Child Parameters
Path Parameters
Query Parameters
Request a GitHub Enterprise Server Pages build
You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.
Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.
Path Parameters
Response
201 application/json
Response
Response
Page Build Status
Page Build Status
Example:https://api.github.com/repos/github/hello-world/pages/builds/latest
Example:queued