Github API - Test Config

POST /repos/{owner}/{repo}/pages
repos

Configures a GitHub Pages site. For more information, see "About GitHub Pages."

To use this endpoint, you must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission. A token with the repo scope or Pages write permission is required. GitHub Apps must have the administration:write and pages:write permissions.
Create a GitHub Pages site

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

Returns
201 application/json page

page [object]

The configuration for GitHub Pages for a repository.

Attributes
build_type string

The process in which the Page will be built.

cname string

The Pages site's custom domain

custom_404 boolean

Whether the Page has a custom 404 page.

html_url string

The web address the Page can be accessed from.

https_certificate pages-https-certificate

https_enforced boolean

Whether https is enabled on the domain

pending_domain_unverified_at string

The timestamp when a pending domain becomes unverified.

protected_domain_state string

The state if the domain is verified

public boolean

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.

status string

The status of the most recent build of the Page.

url string

The API address for accessing this Page resource.

API:
Github Open API
(version: 1.1.4)
409 conflict

conflict [scalar]

Conflict

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)