Updated Notify_gotify (markdown)

master
Chris Caron 2021-09-14 23:46:55 -04:00
parent 6123d8ee73
commit fc055f1145
1 changed files with 12 additions and 2 deletions

@ -30,7 +30,7 @@ Send a Gotify message:
# Assuming our {hostname} is localhost # Assuming our {hostname} is localhost
# Assuming our {token} is abcdefghijklmn # Assuming our {token} is abcdefghijklmn
apprise -vv -t "Test Message Title" -b "Test Message Body" \ apprise -vv -t "Test Message Title" -b "Test Message Body" \
gotify://gotify.server.local/abcdefghijklmn "gotify://gotify.server.local/abcdefghijklmn"
# If your server is being hosted elsewhere and requires you to specify an # If your server is being hosted elsewhere and requires you to specify an
# additional path to get to it, you can notify it as follows: # additional path to get to it, you can notify it as follows:
@ -38,7 +38,17 @@ apprise -vv -t "Test Message Title" -b "Test Message Body" \
# Assuming our {token} is abcdefghijklmn # Assuming our {token} is abcdefghijklmn
# Assuming our {path} is /my/gotify/path/ # Assuming our {path} is /my/gotify/path/
apprise -vv -t "Test Message Title" -b "Test Message Body" \ apprise -vv -t "Test Message Title" -b "Test Message Body" \
gotify://gotify.server.local/my/gotify/path/abcdefghijklmn "gotify://gotify.server.local/my/gotify/path/abcdefghijklmn"
```
There is also markdown support if you want to leverage it; simply add `format=markdown` into your URL:
```bash
# Assuming our {hostname} is localhost
# Assuming our {token} is abcdefghijklmn
apprise -vv -t "Test Message Title" -b "Test Message Body" \
"gotify://gotify.server.local/abcdefghijklmn?format=markdown"
# ^ ^
# | |
``` ```
## Setup ## Setup