Merge a branch
Path Parameters
Body
application/json
Body
The name of the base branch that the head will be merged into.
The head to merge. This can be a branch name or a commit SHA1.
Commit message to use for the merge commit. If omitted, a default message will be used.
Response
application/json
Response
Successful Response (The resulting merge commit)
Commit
Commit
Example:https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e
Example:6dcb09b5b57875f334f61aebed695e2e4193db5e
Example:MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==
Example:https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e
Example:https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments
Show Child Parameters
Simple User
Show Child Parameters
Simple User
Show Child Parameters
Show Child Parameters
Show Child Parameters
Diff Entry
Show Child Parameters
Path Parameters
Body
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