Github API - Test Config

PATCH /repos/{owner}/{repo}/hooks/{hook_id}
repos

Updates a webhook configured in a repository. If you previously had a secret set, you must provide the same secret or set a new secret or the secret will be removed. If you are only updating individual webhook config properties, use "Update a webhook configuration for a repository."
Update 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)

key hook-id

hook-id [scalar]

The unique identifier of the hook.

API:
Github Open API
(version: 1.1.4)

Returns
200 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)
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)