File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -317,3 +317,47 @@ POST /v1/community/ba/info
317317 " msg" : " success" // 返回消息
318318}
319319```
320+
321+ ## 获取分区列表
322+
323+ POST /v1/community/ba/following-ba-list
324+
325+ 请求头:
326+
327+ | 名称| 必须| 备注|
328+ | -----| -----| -----|
329+ | token| 是| 无|
330+
331+ 请求体:
332+ ``` JSONC
333+ {
334+ " typ" : 2 , // 类型
335+ " size" : 20 , // 排序
336+ " page" : 1 // 页数
337+ }
338+ ```
339+
340+ 响应体:
341+ ``` JSONC
342+ {
343+ " code" : 1 , // 请求状态码,1为正常
344+ " data" : {
345+ " ba" : [
346+ {
347+ " id" : 41 , // 分区id
348+ " name" : " 云湖" , // 分区名字
349+ " avatar" : " https://chat-img2.jwznb.com/FoHHKnX-QNuD33-NnGWlq74xkgpg.webp" , // 分区头像url
350+ " delTime" : 0 , // 删除时间
351+ " createTime" : 1665233353 , // 创建时间
352+ " lastActive" : 1754474179 , // 上次活跃时间
353+ " memberNum" : 1053 , // 该分区的成员数
354+ " postNum" : 9656 , // 该分区的文章数
355+ " groupNum" : 55 , // 该分区绑定的群聊数
356+ " createTimeText" : " 2022-10-08 20:49:13" // 分区创建时间
357+ }
358+ // ...
359+ ],
360+ " total" : 11 // 总共的分区数量(共11个)
361+ },
362+ " msg" : " success" // 返回消息
363+ }
You can’t perform that action at this time.
0 commit comments