Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple webhooks should be expressed as a list #2292

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ MyAnimeList's
MyCollections
MyOverlays
MyPlaylists
myotherdomain
myspecialdomain
mza
namespace
NAS
Expand Down
15 changes: 14 additions & 1 deletion docs/config/webhooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,20 @@ webhooks:
| [`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 } |

* 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 [Gotify](gotify.md) just add `gotify` to a webhook instead of the webhook url.

Expand Down