mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-03-26 19:00:11 +08:00
Update docs for iOS Bark to comply with new settings (#5228)
parent
805e808e42
commit
05fd855c46
15
notify.md
15
notify.md
@ -527,14 +527,21 @@ Open the app and get the API URL. It usually starts with "https://api.day.app/"
|
||||
|
||||
You can also use your own API server. Please refer to <https://github.com/Finb/bark-server>.
|
||||
|
||||
BARK_SOUND is an optional variable to set the sound of notification. Please refer to the app to get all available sounds.
|
||||
You **NEED** to set `BARK_API_URL`, every other parameter is optional. For convenience, `BARK_GROUP` will be automatically set to "ACME" if not set.
|
||||
|
||||
BARK_GROUP is the group name of the notifications, which can be shown in the notification center of iOS.
|
||||
For a more detailed description of each parameter, refer to the docs of the [Bark API v2](https://github.com/Finb/bark-server/blob/master/docs/API_V2.md#push).
|
||||
|
||||
```bash
|
||||
export BARK_API_URL="https://api.day.app/XXXXXXXXXXXXXXXXXXXXXX"
|
||||
export BARK_SOUND="newmail"
|
||||
export BARK_GROUP=ACME
|
||||
export BARK_GROUP="ACME"
|
||||
export BARK_SOUND="alarm"
|
||||
export BARK_LEVEL="active"
|
||||
export BARK_BADGE=0
|
||||
export BARK_AUTOMATICALLYCOPY="1"
|
||||
export BARK_COPY="My clipboard Content"
|
||||
export BARK_ICON="https://example.com/icon.png"
|
||||
export BARK_ISARCHIVE="1"
|
||||
export BARK_URL="https://example.com"
|
||||
|
||||
acme.sh --set-notify --notify-hook bark
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user