Require webhook events
This commit is contained in:
parent
e44d2329c8
commit
719b5d65b5
4 changed files with 35 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue