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
Determines whether the hook is actually triggered on pushes.
Unique identifier of the webhook.
The name of a valid service, use 'web' for a webhook.
API:
Github Open API
(version: 1.1.4)
403 forbidden forbidden [scalar] API:
Github Open API
(version: 1.1.4)
404 not_found not_found [scalar] 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)