mirror of
https://github.com/Finb/Bark.git
synced 2025-12-08 21:36:01 +00:00
更新文档
This commit is contained in:
parent
1903797c8d
commit
659c10fff8
@ -75,4 +75,6 @@ List of supported parameters, specific effects can be previewed in the APP.
|
|||||||
| ciphertext | Ciphertext for encrypted push |
|
| ciphertext | Ciphertext for encrypted push |
|
||||||
| isArchive | Pass 1 to save the push, pass other values to not save the push, if not passed, it will be decided by the APP settings whether to save. |
|
| isArchive | Pass 1 to save the push, pass other values to not save the push, if not passed, it will be decided by the APP settings whether to save. |
|
||||||
| url | URL to jump to when the push is clicked, supports URL Scheme and Universal Link |
|
| url | URL to jump to when the push is clicked, supports URL Scheme and Universal Link |
|
||||||
| action | Pass "none" to prevent a popup when the push is clicked |
|
| action | Pass "none" to prevent a popup when the push is clicked |
|
||||||
|
| id | When using the same ID value, it will update the corresponding push notification content<br>Requires Bark v1.5.2, bark-server v2.2.5 or above |
|
||||||
|
| delete | Pass "1" to delete the notification from the system notification center and APP history, must be used with the id parameter |
|
||||||
@ -76,6 +76,8 @@ curl -X "POST" "https://api.day.app/push" \
|
|||||||
| isArchive | 传 1 保存推送,传其他的不保存推送,不传按APP内设置来决定是否保存。 |
|
| isArchive | 传 1 保存推送,传其他的不保存推送,不传按APP内设置来决定是否保存。 |
|
||||||
| url | 点击推送时,跳转的URL ,支持URL Scheme 和 Universal Link |
|
| url | 点击推送时,跳转的URL ,支持URL Scheme 和 Universal Link |
|
||||||
| action | 传 "none" 时,点击推送不会弹窗 |
|
| action | 传 "none" 时,点击推送不会弹窗 |
|
||||||
|
| id | 使用相同的ID值时,将更新对应推送的通知内容<br>需 Bark v1.5.2, bark-server v2.2.5 以上 |
|
||||||
|
| delete | 传 "1" 时,将从系统通知中心和APP内历史记录中删除通知,需搭配 id 参数使用 |
|
||||||
|
|
||||||
## 快捷指令
|
## 快捷指令
|
||||||
Bark 支持快捷指令直接发送推送,以下是当收到交警短信时,忽略静音模式持续响铃提醒用户的自动化示例。
|
Bark 支持快捷指令直接发送推送,以下是当收到交警短信时,忽略静音模式持续响铃提醒用户的自动化示例。
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user