diff --git a/notify.md b/notify.md index 6ee5da8..38ce73c 100644 --- a/notify.md +++ b/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 . -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 ```