listPatchResources

单个补丁页上的资源

Newest change first. Only live resources are ever listed: one its publisher disabled or moderation hid is absent here and `404` at its own URL, exactly as on the site.

get/v2/moyu/patches/{id}/resources
Authorization: Bearer nmk_live_…(任意有效 v2 应用密钥即可,无需任何 scope;唯一例外是 /v2/moyu/resources/{id}/file,要运营发放的 moyu:files)

参数

参数类型位置说明
id 必填 stringpath

moyu 补丁 id。不是 catalog 作品 id,也不是 VNDB 号。

limitintegerquery

1 到 100。超过 100 是 `LIMIT_TOO_LARGE`,不会被夹到上限。

cursorstringquery

同一个集合上一页返回的 `next_cursor`。

include_totalbooleanquery

统计整个集合的条数。默认不带,因为它要花一次 count。

includestring[]query
publisher

响应

  • objectstring 必填
  • itemsobject[] 必填
    • objectstring 必填
    • idstring 必填
    • patch_idstring 必填
    • namestring 必填
    • storagestring 必填

      `s3` is moyu's own object store; `user` is a link the publisher hosts elsewhere.

      枚举s3user
    • sizestring 必填
    • hashstring 必填

      BLAKE3 of the file, empty on rows uploaded before it was recorded. The only stable identity of the bytes themselves.

    • model_namestring 必填

      For an AI-translated patch, the model, as the publisher typed it — free text, not a vocabulary.

    • localization_group_namestring 必填
    • notestring 必填

      Markdown 源码,其中的图片 token 已解析为绝对 URL。

    • typestring[] 必填
    • languagestring[] 必填
    • platformstring[] 必填
    • download_countinteger 必填
    • like_countinteger 必填
    • web_urlstringuri 必填
    • created_atstringdate-time 必填
    • updated_atstringdate-time 必填
    • publisherobject

      Who published it. The profile itself belongs to the NextMoe identity service; this is a display copy.

  • next_cursorstring 必填 可空
  • totalinteger 必填 可空

请求示例

cURL
curl "https://api.nextmoe.dev/v2/moyu/patches/11617/resources" \
  -H "Authorization: Bearer nmk_live_<YOUR_KEY>"

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

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