getPatch
单个补丁页
/v2/moyu/patches/{id}Authorization: Bearer nmk_live_…(任意有效 v2 应用密钥即可,无需任何 scope;唯一例外是 /v2/moyu/resources/{id}/file,要运营发放的 moyu:files)参数
| 参数 | 类型 | 位置 | 说明 |
|---|---|---|---|
id 必填 | string | path | moyu 补丁 id。不是 catalog 作品 id,也不是 VNDB 号。 |
include | string[] | 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.
枚举sfwnsfwrelease_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 必填资源最近一次新增或改动的时间。
publisherobjectWho 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.
枚举s3usersizestring必填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 必填publisherobjectWho published it. The profile itself belongs to the NextMoe identity service; this is a display copy.
请求示例
curl "https://api.nextmoe.dev/v2/moyu/patches/11617" \
-H "Authorization: Bearer nmk_live_<YOUR_KEY>"