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
Path Parameters
Get latest Pages build
Path Parameters
Response
200 application/json
Response
Response
Page Build
Page Build
Show Child Parameters
Simple User
Show Child Parameters
Path Parameters
Get GitHub Enterprise Server Pages build
Path Parameters
Response
200 application/json
Response
Response
Page Build
Page Build
Show Child Parameters
Simple User
Show Child Parameters
Path Parameters
Get a repository README
Gets the preferred README for a repository.
READMEs support custom media types for retrieving the raw content or rendered HTML.
Query Parameters
The name of the commit/branch/tag. Default: the repository’s default branch (usually master
)
Path Parameters
Response
application/json
Response
Response
Content File
Content File
Show Child Parameters
Example:"actual/actual.md"
Example:"git://example.com/defunkt/dotjs.git"
Path Parameters
Query Parameters
Get a repository README for a directory
Gets the README from a repository directory.
READMEs support custom media types for retrieving the raw content or rendered HTML.
Query Parameters
The name of the commit/branch/tag. Default: the repository’s default branch (usually master
)
Path Parameters
The alternate path to look for a README file
Response
application/json
Response
Response
Content File
Content File
Show Child Parameters
Example:"actual/actual.md"
Example:"git://example.com/defunkt/dotjs.git"