批量读取消息讨论串摘要
接口边界
- 调用方:仅限受信业务后端
- 作用域:在父频道成员可见范围内,非激活式读取最多 100 条根消息的讨论串摘要;不会激活 Thread 频道或创建会话目录条目。
- 成功判定:对尚无讨论串回复的根消息返回 reply_count=0、last_reply_seq=0 的零值摘要,并按 login_uid 投影个人父频道的 Thread ID。
- 恢复:临时读取不可用时直接返回 503,不返回部分结果;按退避策略重试,并丢弃旧 X-WK-Content-Epoch 代数的延迟响应。
POST
/channel/thread/summaries校验父频道成员可见性,非激活式读取最多 100 条根消息的回复数、最新回复序号及可选末条回复。
请求主体
application/json
按父频道和根消息 ID 列表批量读取讨论串摘要的请求体。
TypeScript 定义
在 TypeScript 中使用 request body 类型。
批量读取父频道下指定根消息讨论串摘要的请求参数。
响应主体
application/json
application/json
application/json
application/json
{ "summaries": [ { "root_message_id": "string", "thread_channel_id": "string", "thread_channel_type": 13, "reply_count": 0, "last_reply_seq": 0, "last_reply": { "header": { "no_persist": 0, "red_dot": 0, "sync_once": 0 }, "setting": 0, "message_id": 0, "message_idstr": "string", "client_msg_no": "string", "end": 0, "end_reason": 0, "error": "string", "stream_data": "string", "event_meta": { "has_events": true, "completed": true, "event_version": 0, "last_msg_event_seq": 0, "event_count": 0, "open_event_count": 0, "events": [ { "event_key": "string", "status": "string", "last_msg_event_seq": 0, "snapshot": null, "end_reason": 0, "error": "string" } ] }, "event_sync_hint": { "client_msg_no": "string", "from_msg_event_seq": 0 }, "message_seq": 0, "from_uid": "string", "channel_id": "string", "channel_type": 0, "topic": "string", "expire": 0, "timestamp": 0, "payload": "string", "version": "string", "updated_at_ms": 0 } } ]}