getPatch

单个补丁页

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

参数

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

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

includestring[]query

Comma-separated relations to attach. Nothing is attached by default, including the resources — `resource_count` tells you whether there is anything to ask for, and `/patches/{id}/resources` pages them when there are many.

resourcespublisher

响应

  • objectstring 必填
  • idstring 必填
  • vndb_idstring 必填

    moyu's own dedupe key. Usually a VNDB id, but a page created before its game reached VNDB carries a placeholder instead.

  • catalog_work_idstring 必填 可空

    The NextMoe catalog work this page is about, for `/v2/catalog/works`. Null on the placeholder pages that have no work yet.

  • content_limitstring 必填 可空

    Catalog's display verdict, mirrored. Null means moyu has not mirrored it yet; catalog is the authority either way.

    枚举sfwnsfw
  • release_datestringdate 必填 可空
  • typestring[] 必填

    该页上的资源属于哪些补丁类型。

  • languagestring[] 必填
  • platformstring[] 必填
  • resource_countinteger 必填
  • download_countinteger 必填
  • view_countinteger 必填
  • favorite_countinteger 必填
  • comment_countinteger 必填
  • web_urlstringuri 必填

    moyu 上的页面。读者去下载的地方。

  • created_atstringdate-time 必填
  • updated_atstringdate-time 必填
  • resource_updated_atstringdate-time 必填

    资源最近一次新增或改动的时间。

  • publisherobject

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

    • objectstring 必填
    • idstring 必填
    • namestring 必填
    • avatar_urlstring 必填
    • web_urlstringuri 必填
  • resourcesobject[]

    仅当 `include=resources` 时出现。

    • 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.

请求示例

cURL
curl "https://api.nextmoe.dev/v2/moyu/patches/11617" \
  -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。