Alerts and webhooks
8 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| GET | /api/v1/tenants/{tid}/alerts | The tenant's alert channels with their latest deliveries (ADR 0037) |
| POST | /api/v1/tenants/{tid}/alerts | Add a webhook or Telegram channel; a webhook's signing secret is shown once |
| DELETE | /api/v1/tenants/{tid}/alerts/{cid} | Remove an alert channel |
| PUT | /api/v1/tenants/{tid}/alerts/{cid}/events | Choose which events the channel receives |
| POST | /api/v1/tenants/{tid}/alerts/{cid}/test | Send a test message now; the answer says whether it arrived |
| GET | /api/v1/tenants/{tid}/webhooks | Endpoints that receive signed events (ADR 0051) |
| POST | /api/v1/tenants/{tid}/webhooks | Add an endpoint; its signing secret is in this answer only |
| DELETE | /api/v1/tenants/{tid}/webhooks/{id} | Remove an endpoint and what it had still to receive |