更新文档

This commit is contained in:
Fin 2025-07-21 17:59:10 +08:00
parent 659c10fff8
commit d4ae4d38e5
2 changed files with 3 additions and 2 deletions

View File

@ -77,4 +77,4 @@ List of supported parameters, specific effects can be previewed in the APP.
| 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 |
| 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 |
| delete | Pass "1" to delete the notification from the system notification center and APP history, must be used with the id parameter<br>Requires "Background App Refresh" to be enabled in settings, otherwise it will not work. |

View File

@ -77,7 +77,8 @@ curl -X "POST" "https://api.day.app/push" \
| url | 点击推送时跳转的URL 支持URL Scheme 和 Universal Link |
| action | 传 "none" 时,点击推送不会弹窗 |
| id | 使用相同的ID值时将更新对应推送的通知内容<br>需 Bark v1.5.2, bark-server v2.2.5 以上 |
| delete | 传 "1" 时将从系统通知中心和APP内历史记录中删除通知需搭配 id 参数使用 |
| delete | 传 "1" 时将从系统通知中心和APP内历史记录中删除通知需搭配 id 参数使用<br>需在设置里开启”后台App刷新“否则无效。|
## 快捷指令
Bark 支持快捷指令直接发送推送,以下是当收到交警短信时,忽略静音模式持续响铃提醒用户的自动化示例。