1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-10-20 04:43:06 +02:00

adding Watchtower - shoutrrr authentication with auth token utilizing ntfy url

This commit is contained in:
OneWeekNotice 2024-07-26 22:48:14 -04:00
parent 6da554d1e5
commit 6562ba6987

View file

@ -173,7 +173,14 @@ Or, if you only want to send notifications using shoutrrr:
shoutrrr send -u "ntfy://ntfy.sh/my_watchtower_topic?title=WatchtowerUpdates" -m "testMessage" shoutrrr send -u "ntfy://ntfy.sh/my_watchtower_topic?title=WatchtowerUpdates" -m "testMessage"
``` ```
Authentication tokens are also supported via the generic webhook and authorization header using this url format (replace the domain, topic and token with your own): Authentication tokens are also supported:
- (Recommended) Ntfy url format (replace the domain, topic and token with your own):
```
ntfy://:TOKEN@DOMAIN/TOPIC
```
- Generic webhook and authorization header using this url format (replace the domain, topic and token with your own):
``` ```
generic+https://DOMAIN/TOPIC?@authorization=Bearer+TOKEN` generic+https://DOMAIN/TOPIC?@authorization=Bearer+TOKEN`