upsertWebhookEndpoint
Where a provider sends a PUT to a webhook's URL. The extension's handler checks and answers it as it does a POST.
PUT
/hooks/{repo_id}/{webhook_id}Path parameters
Request body JSON required
Request body
X-WWW-FORM-URLENCODEDstringRequest body
PLAINstringRequest body
XMLstringRequest body
OCTET-STREAMstringRequest body
XMLstringReturns
202
ExtensionWebhookDelivery
JSON
400
InvalidRequest
402
ComputeLimitReached
404
WebhookSubscriptionNotFound | ExtensionWebhookNotFound | RepoNotFound
JSON
One of the following:
- WebhookSubscriptionNotFoundEncoded
- ExtensionWebhookNotFoundEncoded
- RepoNotFoundEncoded
413
WriteTooLarge | RequestBodyTooLarge
JSON
One of the following:
- WriteTooLargeEncoded
- RequestBodyTooLargeEncoded
500
ExtensionWebhookRequestHandlerFailed | RepoFailure | OrgFailure
JSON
One of the following:
- ExtensionWebhookRequestHandlerFailedEncoded
- RepoFailureEncoded
- OrgFailureEncoded
503
ExtensionWebhookUnavailable | RepoBusy | RateLimitUnavailable
JSON
One of the following:
- ExtensionWebhookUnavailableEncoded
- RepoBusyEncoded
- RateLimitUnavailableEncoded