Require webhook events

This commit is contained in:
Lain Soykaf 2026-05-26 14:30:50 +04:00
commit 719b5d65b5
No known key found for this signature in database
4 changed files with 35 additions and 6 deletions

View file

@ -1877,7 +1877,7 @@ Note that this differs from the Mastodon API variant: Mastodon API only returns
- Method: `POST`
- Params:
- `url`: **string** Webhook URL
- *optional* `events`: **[string]** Types of events to trigger on (`account.created`, `report.created`)
- `events`: **[string]** Types of events to trigger on (`account.created`, `report.created`)
- *optional* `enabled`: **boolean** Whether webhook is enabled
- Response: A webhook