listResourceChanges
资源变更流
What happened to each resource, oldest first, so a mirror can follow moyu instead of re-reading every page. The log starts on 2026-10-14 with no backfill: take one full scan through the collections first, then follow this from an empty cursor. Replaying a page is safe. `next_cursor` is always set. Keep it and ask again; a page shorter than `limit` means you are caught up. Entries appear once every transaction that started before them has finished, so a long write can delay the feed for its duration but never makes it skip one. `kind` says which way to react: - `created`, `file_replaced`, `updated`, `restored`: read the resource again (`GET /v2/moyu/resources/{id}`). - `hidden`, `deleted`: it is no longer public. `hidden` may come back as `restored`. - `normalized`: the file was swapped for the passwordless zip letmoe's forge built from it. The content is the same; the size and password changed, and `/file` now answers `normalized: true`. Counter changes (downloads, likes) are not events, and nor are edits made while a resource is not public. Never cached: `Cache-Control: no-store`.
/v2/moyu/changesAuthorization: Bearer nmk_live_…(任意有效 v2 应用密钥即可,无需任何 scope;唯一例外是 /v2/moyu/resources/{id}/file,要运营发放的 moyu:files)参数
| 参数 | 类型 | 位置 | 说明 |
|---|---|---|---|
limit | integer | query | 1 到 100。超过 100 是 `LIMIT_TOO_LARGE`,不会被夹到上限。 |
cursor | string | query | 同一个集合上一页返回的 `next_cursor`。 |
响应
objectstring必填itemsobject[]必填objectstring必填seqstring必填Unique per entry, for deduplicating a replayed page. It is not the feed's order; the cursor is.
resource_idstring必填catalog_work_idstring必填资源发生变化时所在的补丁页。被移到别的页的资源会报告 `updated`,并带上新的页。
storagestring必填只有 `s3` 资源在 moyu 上有文件。
枚举s3userkindstring必填枚举createdfile_replacedupdatedhiddenrestoreddeletednormalizedchanged_atstringdate-time 必填
next_cursorstring必填从哪里继续读。总会给出。
totalobject必填 可空
请求示例
curl "https://api.nextmoe.dev/v2/moyu/changes" \
-H "Authorization: Bearer nmk_live_<YOUR_KEY>"