lede/package/lean/luci-app-pushbot/root/usr/bin/pushbot/api/bark.json
aakkll 7222de0754
luci-app-pushbot: sync upstream (#8649)
Co-authored-by: zzsj0928 <69092025+zzsj0928@users.noreply.github.com>
2022-01-12 13:23:39 +08:00

36 lines
975 B
JSON

{
"_api": "这是Bark推送 post 模板信息 api 文件",
"_api": "【Bark推送】",
"url": "${bark_srv}/push",
"data": "@${tempjsonpath}",
"content_type": "Content-Type: application/json; charset=utf-8",
"str_title_start": "【",
"str_title_end": "】",
"str_linefeed": "\\n",
"str_splitline": "\\n\\n",
"str_space": " ",
"str_tab": " ",
"table_tab": "",
"font_green": "",
"font_green2": "",
"font_red": "",
"font_blue": "",
"font_purple": "",
"font_end": "",
"font_end2": "",
"percentsym": "",
"boldstar": "",
"type": {
"device_key": "\"${bark_token}\"",
"title": "\"${1}\"",
"body": "\"${nowtime}${str_linefeed}${2}\"",
"ext_params": {
"group": "\"${device_name}\"",
"isArchive": "1",
"icon": "\"${bark_icon}\"",
"level": "\"${bark_level}\""
},
"sound": "\"${bark_sound}\""
}
}