checkWebhookEndpoint
Where a provider sends an OPTIONS request to a webhook's URL, such as a handshake before it sends events. The extension's handler answers it.
OPTIONS
/hooks/{repo_id}/{webhook_id}Path parameters
Returns
202
ExtensionWebhookDelivery
JSON
400
InvalidRequest
402
ComputeLimitReached
404
WebhookSubscriptionNotFound | ExtensionWebhookNotFound | RepoNotFound
JSON
One of the following:
- WebhookSubscriptionNotFoundEncoded
- ExtensionWebhookNotFoundEncoded
- RepoNotFoundEncoded
500
ExtensionWebhookRequestHandlerFailed | RepoFailure | OrgFailure
JSON
One of the following:
- ExtensionWebhookRequestHandlerFailedEncoded
- RepoFailureEncoded
- OrgFailureEncoded
503
ExtensionWebhookUnavailable | RepoBusy | RateLimitUnavailable
JSON
One of the following:
- ExtensionWebhookUnavailableEncoded
- RepoBusyEncoded
- RateLimitUnavailableEncoded