Multiple webhooks should be expressed as a list (#2292)

This commit is contained in:
Chaz Larson 2024-10-22 12:18:23 -05:00 committed by GitHub
parent 85c3012fa1
commit cd2b5dd51e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 1 deletions

View file

@ -201,6 +201,8 @@ MyAnimeList's
MyCollections MyCollections
MyOverlays MyOverlays
MyPlaylists MyPlaylists
myotherdomain
myspecialdomain
mza mza
namespace namespace
NAS NAS

View file

@ -26,7 +26,20 @@ webhooks:
| [`delete`](#delete-notifications) | :fontawesome-solid-circle-check:{ .green } | :fontawesome-solid-circle-xmark:{ .red } | :fontawesome-solid-circle-xmark:{ .red } | | [`delete`](#delete-notifications) | :fontawesome-solid-circle-check:{ .green } | :fontawesome-solid-circle-xmark:{ .red } | :fontawesome-solid-circle-xmark:{ .red } |
| [`changes`](#changes-notifications) | :fontawesome-solid-circle-check:{ .green } | :fontawesome-solid-circle-check:{ .green } | :fontawesome-solid-circle-check:{ .green } | | [`changes`](#changes-notifications) | :fontawesome-solid-circle-check:{ .green } | :fontawesome-solid-circle-check:{ .green } | :fontawesome-solid-circle-check:{ .green } |
* Each Attribute can be either a webhook url as a string or a comma-separated list of webhooks urls. * Each Attribute can be either a webhook url as a string or a list of webhooks urls.
```yaml
webhooks:
error: https://www.myspecialdomain.com/kometa
version: notifiarr
run_start:
- notifiarr
- gotify
run_end:
- https://www.myspecialdomain.com/kometa
- https://www.myotherdomain.com/kometa
...
```
* To send notifications to [Notifiarr](notifiarr.md) just add `notifiarr` to a webhook instead of the webhook url. * To send notifications to [Notifiarr](notifiarr.md) just add `notifiarr` to a webhook instead of the webhook url.
* To send notifications to [Gotify](gotify.md) just add `gotify` to a webhook instead of the webhook url. * To send notifications to [Gotify](gotify.md) just add `gotify` to a webhook instead of the webhook url.