Skip to main content
在 Manus 中运行任何 Skill
一键导入

sanity-history-api

星标16
分支7
更新时间2026年7月7日 16:25

Sanity History API for reading real document change history — who changed what, and when. Covers the two HTTP endpoints (documents snapshots + transactions log), every query parameter (excludeContent, effectFormat=mendoza, fromTime/toTime, fromTransaction/toTransaction, authors, reverse, limit), the NDJSON transaction shape (id/timestamp/author/mutations/effects/documentIDs), resolving author ids to people, the draft-vs-published + dataset footguns, and how to call it from an SDK app (sdk-apps/*) via client.request or useAuthToken. Use when building change/diff/activity/audit UIs, "who edited this", review surfaces, or anything that needs real revision history rather than a published-vs-draft field diff.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly