[GH-ISSUE #129] post请求体中group参数无效 #119

Closed
opened 2026-03-03 11:37:16 +03:00 by kerem · 2 comments
Owner

Originally created by @leafney on GitHub (Dec 10, 2021).
Original GitHub issue: https://github.com/Finb/Bark/issues/129

post方式请求,在请求体中添加 group 参数后发现接收到的消息保存在 默认 分组中。

{
    "title":"测试",
    "body":"这是内容",
    "group":"test"   
}

如果是添加在URL中 /yourkey?group=test 这样是可以的,新增了 test 分组。

App版本信息: Github Run Id : 1389319857

Originally created by @leafney on GitHub (Dec 10, 2021). Original GitHub issue: https://github.com/Finb/Bark/issues/129 post方式请求,在请求体中添加 `group` 参数后发现接收到的消息保存在 `默认` 分组中。 ``` { "title":"测试", "body":"这是内容", "group":"test" } ``` 如果是添加在URL中 `/yourkey?group=test` 这样是可以的,新增了 `test` 分组。 App版本信息: Github Run Id : 1389319857
kerem closed this issue 2026-03-03 11:37:16 +03:00
Author
Owner

@Finb commented on GitHub (Dec 10, 2021):

使用 v2 接口请参考
https://github.com/Finb/bark-server/blob/master/docs/API_V2.md

group 需要放在 ext_params 节点下

<!-- gh-comment-id:990768886 --> @Finb commented on GitHub (Dec 10, 2021): 使用 v2 接口请参考 https://github.com/Finb/bark-server/blob/master/docs/API_V2.md group 需要放在 ext_params 节点下
Author
Owner

@leafney commented on GitHub (Dec 10, 2021):

Thanks

<!-- gh-comment-id:990770293 --> @leafney commented on GitHub (Dec 10, 2021): Thanks
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#119
No description provided.