diff --git a/docs/en_US/guide/notifications.md b/docs/en_US/guide/notifications.md index 7c2de5f1..95baf4e6 100644 --- a/docs/en_US/guide/notifications.md +++ b/docs/en_US/guide/notifications.md @@ -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) - Name:Telegram 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 \ No newline at end of file ++ `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