Github API - Test Config

POST /repos/{owner}/{repo}/hooks
repos

Repositories can have multiple webhooks installed. Each webhook should have a unique config. Multiple webhooks can
share the same config as long as those webhooks do not have any events that overlap.
Create a repository webhook

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 hook

hook [object]

Webhooks for repositories.

Attributes
active boolean

Determines whether the hook is actually triggered on pushes.

config 2007

created_at string

deliveries_url string

events string []

id integer

Unique identifier of the webhook.

last_response hook-response

name string

The name of a valid service, use 'web' for a webhook.

ping_url string

test_url string

type string

updated_at string

url string

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

forbidden [scalar]

Forbidden

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

not_found [scalar]

Resource not found

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)