key_id parameter
Delete a deploy key
Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.
Path Parameters
Response
204
Response
Response
Path Parameters
List repository languages
Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.
Path Parameters
Response
200 application/json
Response
Response
Language
Language
Path Parameters
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