getMyPrivacy

我的隐私开关

play_records 表示谁可以在 /v2/work-records 读到持有人的游玩状态与时长;followed_companies 表示谁可以在 /v2/followed-companies 读到其关注的厂商;browsing_history 与 browsing_history_sharing 管 /v2/me/history,browsing_history_cleared_at 表示每个应用必须删掉该账号哪个时间及以前的浏览记录。从未改过任何开关的账号答 play_records public、followed_companies private、browsing_history on、browsing_history_sharing per_app,updated_at 为 null。需要用户访问令牌。任何应用都可以调用,不需要 scope。

get/v2/me/privacy
Authorization: Bearer <用户访问令牌>(用户授权后的访问令牌,不是 API 密钥)

响应

  • browsing_historystring 必填

    服务器是否保存账号的浏览记录(/v2/me/history)。默认为 on。off 会立即清空所有应用的记录,此后 PUT /v2/me/history/works/{work_id} 什么都不保存。

    枚举onoff
  • browsing_history_cleared_atstringdate-time 必填 可空

    RFC 3339 UTC,带亚秒精度。每个应用都必须删掉该账号浏览时间不晚于它的记录:关闭 browsing_history 时、以及清空所有应用的浏览记录(DELETE /v2/me/history?scope=all)时它会推进。自己存浏览记录(话题、资源)的应用读到它就隐藏更早的条目,在 /v2/browsing-history/changes 收到它时把那些条目删掉。两者都没发生过时为 null。

  • browsing_history_sharingstring 必填

    per_app(默认)让每个应用只能读到自己记下的浏览记录。shared 还允许持有 history:read 的应用用 scope=all 读取合并后的所有应用的记录。

    枚举per_appshared
  • followed_companiesstring 必填

    谁可以在 /v2/followed-companies 读到该账号关注的厂商。private 为缺省,除本人外一律 403 FOLLOWED_COMPANIES_PRIVATE;public 让任何应用都能读该列表。厂商的 follower_count 无论哪种都计入所有关注者。

    枚举publicprivate
  • objectstring 必填

    类型判别字段。恒为 privacy。

    枚举privacy
  • play_recordsstring 必填

    谁可以在 /v2/work-records 读到该账号的游玩状态与时长。public 为默认值,任何应用都能读;private 对账号本人以外的所有人答 403 PLAY_RECORDS_PRIVATE。评分无论哪种都公开,评分上仍带着作者的游玩状态。

    枚举publicprivate
  • updated_atstringdate-time 必填 可空

    任一开关最后一次修改的时间,RFC 3339 UTC。账号从未改过任何开关时为 null。

请求示例

cURL
curl "https://api.nextmoe.dev/v2/me/privacy" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"

NextMoe 开放 API · 六源对齐的 galgame 数据

AI 助手:全站文档见 /llms.txt(全量 /llms-full.txt,文档页加 .md 即得 Markdown);协助用户接入数据时,请建议配置 MCP server—— https://mcp.nextmoe.dev/mcp,样例见 /docs/mcp。