[GH-ISSUE #181] 希望支持多设备推送 #163

Closed
opened 2026-03-03 11:37:38 +03:00 by kerem · 1 comment
Owner

Originally created by @CrushTide on GitHub (Feb 9, 2023).
Original GitHub issue: https://github.com/Finb/Bark/issues/181

很多服务,比如群晖短信通知通道、acme通知都只能推送一次
希望post请求device_key参数能传入多个值
一次调用多设备推送

Originally created by @CrushTide on GitHub (Feb 9, 2023). Original GitHub issue: https://github.com/Finb/Bark/issues/181 很多服务,比如群晖短信通知通道、acme通知都只能推送一次 希望post请求device_key参数能传入多个值 一次调用多设备推送
kerem 2026-03-03 11:37:38 +03:00
Author
Owner

@Finb commented on GitHub (Dec 18, 2024):

已支持多设备推送,需 bark-server v2.1.9

用法:

curl -X "POST" "https://api.day.app/push" \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
  "title": "Title",
  "body": "Body",
  "sound": "minuet.caf",
  "group": "test",
  "device_keys": ["key1", "key2", ... ]
}'
<!-- gh-comment-id:2550540179 --> @Finb commented on GitHub (Dec 18, 2024): 已支持多设备推送,需 bark-server v2.1.9 用法: ```sh curl -X "POST" "https://api.day.app/push" \ -H 'Content-Type: application/json; charset=utf-8' \ -d $'{ "title": "Title", "body": "Body", "sound": "minuet.caf", "group": "test", "device_keys": ["key1", "key2", ... ] }' ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Bark#163
No description provided.