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}/resourcesAuthorization: Bearer nmk_live_…(任意有效 v2 应用密钥即可,无需任何 scope;唯一例外是 /v2/moyu/resources/{id}/file,要运营发放的 moyu:files)参数
| 参数 | 类型 | 位置 | 说明 |
|---|---|---|---|
id 必填 | string | path | moyu 补丁 id。不是 catalog 作品 id,也不是 VNDB 号。 |
limit | integer | query | 1 到 100。超过 100 是 `LIMIT_TOO_LARGE`,不会被夹到上限。 |
cursor | string | query | 同一个集合上一页返回的 `next_cursor`。 |
include_total | boolean | query | 统计整个集合的条数。默认不带,因为它要花一次 count。 |
include | string[] | 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.
枚举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.
next_cursorstring必填 可空totalinteger必填 可空
请求示例
cURL
curl "https://api.nextmoe.dev/v2/moyu/patches/11617/resources" \
-H "Authorization: Bearer nmk_live_<YOUR_KEY>"