The Bearer API key and private reading data depend on one remote gateway
Source references: 6The credential is sent to the gateway on every call and is bound to the user identity. The same gateway can retrieve bookshelf privacy flags, reading history, and personal note text. This boundary is necessary for the features, but the supplied material does not state key scope, revocation, or gateway retention policies.
If the key leaks or the gateway is untrusted, a holder may be able to query sensitive reading habits and personal writing as the user. The supplied evidence does not show that a leak occurred.
The remote gateway and identity-bound Bearer key are necessary to provide these features, but they still create a real credential and privacy boundary: the key is sent to one gateway and enables access to personal shelf, progress, and note/review data. The supplied material does not describe least-privilege scope, revocation, retention, or onward sharing, so users cannot determine the full impact of exposure from these documents. Users can ask for those policies and expose the environment variable only to the relevant session or process.
```POST https://i.weread.qq.com/api/agent/gateway```Show 5 other places
- Header:`Authorization: Bearer $WEREAD_API_KEY`- `WEREAD_API_KEY` 从环境变量获取,格式 `wrk-xxxxxxxx`- 若未设置,提示用户:`export WEREAD_API_KEY=<你的apikey>`- API Key 绑定用户身份(vid),需要用户身份的接口会自动注入,无需手动传 vid### 3. 获取笔记调 `/user/notebooks` 获取笔记概览,展示有笔记的书籍数和总笔记数。这里只做概览,不导出单本书笔记内容。如果用户要查看某本书的具体笔记内容,再按 `notes.md` 调 `/book/bookmarklist` 和 `/review/list/mine`。|------|------|| `reviews` | 想法/点评数组 || `reviews[].review.reviewId` | 唯一 ID || `reviews[].review.content` | 内容文本 || `reviews[].review.abstract` | 想法对应的划线原文。仅划线想法等能定位到原文的内容有值,整本书评或章节点评可能为空或不存在 || `reviews[].review.range` | 划线原文位置范围,格式如 `"2959-3007"`。仅能定位到原文的内容有值 || `reviews[].review.chapterUid` | 章节 UID。章节相关内容可能有值 || `reviews[].review.chapterIdx` | 章节序号。章节相关内容可能有值 || `reviews[].review.createTime` | 创建时间 || `reviews[].review.star` | 评分(0-5,-1=无评分) |通过组合 `/shelf/sync`、`/book/getprogress`、`/user/notebooks` 获取用户阅读概况。### `/review/list/mine` — 单本书的个人想法与点评> 返回当前用户在该书上的所有个人内容,包括划线想法、章节点评和整本书评。