Documentation Index
Fetch the complete documentation index at: https://tech.illasoft.com/llms.txt
Use this file to discover all available pages before exploring further.
路径
GET /thread/timelines
认证
Bearer JWTQuery 参数
| 名称 | 类型 | 默认 | 说明 |
|---|---|---|---|
cursor | string | — | 上一页最后一条的 created_at |
响应
聚合算法
- 分页:5 thread/页,按
threads.created_at DESC - 每个 thread 取全部
thread_version(按created_at DESC) - 合并 images / videos / audios 到统一
mediaItems - 去重:使用
seenImageIds/seenVideoTaskIds/seenAudioTaskIdsSet,同资源只取最早出现的位置 - 只包含
status === "completed"且有有效文件 ID 的项 - 所有签名 URL 现场生成(batch)
mediaItems 是核心 —— 前端可按原始出现顺序展示 mixed-media feed。images/videos/audios 为各自独立的展平数组,用于分类筛选。源
src/hono/thread/index.ts:306-515