Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I4806c58aa0a17f504c9312723ad770166a6a6964
33 lines
596 B
Markdown
Vendored
33 lines
596 B
Markdown
Vendored
# Webhooks
|
|
|
|
Webhook configuration
|
|
|
|
## Endpoints
|
|
|
|
### GET /api/v1/webhooks
|
|
|
|
**Authentication:** Required (Bearer JWT)
|
|
|
|
#### Responses
|
|
|
|
| Status | Description |
|
|
| ------ | --------------------------- |
|
|
| 200 | List of configured webhooks |
|
|
| 401 | Unauthorized |
|
|
| 403 | Forbidden |
|
|
|
|
---
|
|
|
|
### POST /api/v1/webhooks/test
|
|
|
|
**Authentication:** Required (Bearer JWT)
|
|
|
|
#### Responses
|
|
|
|
| Status | Description |
|
|
| ------ | ----------------- |
|
|
| 200 | Test webhook sent |
|
|
| 401 | Unauthorized |
|
|
| 403 | Forbidden |
|
|
|
|
---
|