GitHub v3 REST API

Pages Https Certificate

object
statestringrequired

Allowed values:newauthorization_createdauthorization_pendingauthorizedauthorization_revokedissueduploadedapprovederroredbad_authzdestroy_pendingdns_changed

Example:approved

descriptionstringrequired

Example:Certificate is approved

domainsarray[string]required

Array of the domain set and its alternate name (if it is configured)

Example:example.com, www.example.com

expires_atstring(date)
Example

GitHub Pages

object

The configuration for GitHub Pages for a repository.

urlstring(uri)required

The API address for accessing this Page resource.

Example:https://api.github.com/repos/github/hello-world/pages

statusstringrequired

The status of the most recent build of the Page.

Allowed values:builtbuildingerrored

Example:built

cnamestringrequired

The Pages site’s custom domain

Example:example.com

protected_domain_statestring

The state if the domain is verified

Allowed values:pendingverifiedunverified

Example:pending

pending_domain_unverified_atstring(date-time)

The timestamp when a pending domain becomes unverified.

custom_404booleanrequired

Whether the Page has a custom 404 page.

Default:false

html_urlstring(uri)

The web address the Page can be accessed from.

Example:https://example.com

sourceobject
Show Child Parameters
publicbooleanrequired

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

https_certificateobject
Show Child Parameters
https_enforcedboolean

Whether https is enabled on the domain

Example:true

Example

Page Build

object

Page Build

urlstring(uri)required
statusstringrequired
errorobjectrequired
Show Child Parameters
pusherobjectrequired

Simple User

Show Child Parameters
commitstringrequired
durationintegerrequired
created_atstring(date-time)required
updated_atstring(date-time)required
Example

Page Build Status

object

Page Build Status

urlstring(uri)required

Example:https://api.github.com/repos/github/hello-world/pages/builds/latest

statusstringrequired

Example:queued

Example

repository-pre-receive-hook

object
idinteger
namestring
enforcementstring
configuration_urlstring
Example