Merge pull request #18 from dysf888/patch-2

add Bark
This commit is contained in:
naiba 2022-10-24 14:02:31 +08:00 committed by GitHub
commit c8f0cea109
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,19 @@ Placeholders can also be placed inside the URL, and it will perform a simple str
Refer to the example below, it is very flexible.
- Bark Example
-Name: Bark
-URL composition: the first part is the key, followed by three matches/: key/: body or/: key/: title/: body or/: key/: category/: title/: body
-Request method: GET
-Request Type: Default
-Body: null
-Name: Bark
-URL composition:/push
-Request method: post
-Request type: form
- Body: {"title": "#SERVER.NAME#","device_key":"xxxxxxxxx","body":"#NEZHA#","icon":" https://xxxxxxxx/nz.png "}
- Telegram Example, contributed by [@haitau](https://github.com/haitau)
- NameTelegram Robot message notification
@ -144,4 +157,4 @@ Can be used as monthly transfer notificatin
## Set the task to be executed when notification
If you need to perform a task while sending a notification message, you can set those items
+ `Tasks to be triggered in case of failure` The task to be executed when the notification status matches the change from "normal" to "failure", the task should be set in advance in the tasks page
+ `Tasks to be triggered after fault recovery` The task to be executed when the notification status matches the change from " failure " to " normal ", the task should be set in advance in the tasks page
+ `Tasks to be triggered after fault recovery` The task to be executed when the notification status matches the change from " failure " to " normal ", the task should be set in advance in the tasks page