mirror of
https://github.com/sismics/docs.git
synced 2025-12-26 16:11:42 +00:00
#243: call webhooks
This commit is contained in:
@@ -67,6 +67,7 @@ public class WebhookResource extends BaseResource {
|
||||
* Add a webhook.
|
||||
*
|
||||
* @api {put} /webhook Add a webhook
|
||||
* @apiDescription Each time the specified event is raised, the webhook URL will be POST-ed with the following JSON payload: {"event": "Event name", "id": "ID of the document or file"}
|
||||
* @apiName PutWebhook
|
||||
* @apiWebhook Webhook
|
||||
* @apiParam {String="DOCUMENT_CREATED","DOCUMENT_UPDATED","DOCUMENT_DELETED","FILE_CREATED","FILE_UPDATED","FILE_DELETED"} event Event
|
||||
|
||||
Reference in New Issue
Block a user