Webhook API reference and update/delete function change (#2242)
This commit is contained in:
9
docs/api-reference/webhook/create-webhook.mdx
Normal file
9
docs/api-reference/webhook/create-webhook.mdx
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: 'Create Webhook'
|
||||
openapi: post /api/v1/webhooks/projects/{project_id}/
|
||||
---
|
||||
|
||||
## Create Webhook
|
||||
|
||||
Create a webhook by providing the project ID and the webhook details.
|
||||
|
||||
8
docs/api-reference/webhook/delete-webhook.mdx
Normal file
8
docs/api-reference/webhook/delete-webhook.mdx
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 'Delete Webhook'
|
||||
openapi: delete /api/v1/webhooks/{webhook_id}/
|
||||
---
|
||||
|
||||
## Delete Webhook
|
||||
|
||||
Delete a webhook by providing the webhook ID.
|
||||
9
docs/api-reference/webhook/get-webhook.mdx
Normal file
9
docs/api-reference/webhook/get-webhook.mdx
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: 'Get Webhook'
|
||||
openapi: get /api/v1/webhooks/projects/{project_id}/
|
||||
---
|
||||
|
||||
## Get Webhook
|
||||
|
||||
Get a webhook by providing the project ID.
|
||||
|
||||
9
docs/api-reference/webhook/update-webhook.mdx
Normal file
9
docs/api-reference/webhook/update-webhook.mdx
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: 'Update Webhook'
|
||||
openapi: put /api/v1/webhooks/{webhook_id}/
|
||||
---
|
||||
|
||||
## Update Webhook
|
||||
|
||||
Update a webhook by providing the webhook ID and the fields to update.
|
||||
|
||||
Reference in New Issue
Block a user