Create a GitHub Pages site
POST {{baseUrl}}/repos/:owner/:repo/pages
Request Body
{"source"=>{"branch"=>"<string>", "path"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"url":"https://api.github.com/repos/github/developer.github.com/pages","status":"built","cname":"developer.github.com","custom_404":false,"html_url":"https://developer.github.com","source":{"branch":"master","path":"/"}}