listWorkResources
一部游戏的资源
Most recently changed first. Only published resources are listed; one under review, taken down or deleted is absent here and `404` at its own URL, exactly as on the site. A game letmoe has never held a resource for is `404`; one whose resources are all gone is an empty list.
/v2/letmoe/works/{id}/resourcesAuthorization: Bearer nmk_live_…(任意有效 v2 应用密钥即可,无需任何 scope;唯一例外是 /v2/letmoe/resources/{id}/file,要 letmoe:files——每把密钥创建时自动带上)参数
| 参数 | 类型 | 位置 | 说明 |
|---|---|---|---|
id 必填 | string | path | catalog 作品 id,也就是 letmoe 的游戏 id。 |
limit | integer | query | 1 到 100。超过 100 是 `LIMIT_TOO_LARGE`,不会被夹到上限。 |
cursor | string | query | 同一个集合上一页返回的 `next_cursor`。 |
include_total | boolean | query | 统计整个集合的条数。默认不带,因为它要花一次 count。 |
nsfw | boolean | query | Include games whose display verdict is adult (`content_limit: nsfw`). Off by default, matching catalog's own convention. |
type | string[] | query | 逗号分隔的资源类型,命中任意一个即算。 gamecollectionpatchtranslationcrack_fixmodsavewalkthroughtoolosttheme_songdramaasmrvoicewallpapercgartbookcomicvideonovelmanualappendassetother |
include | string[] | query | 要附加的关系,逗号分隔。 publisher |
响应
objectstring必填itemsobject[]必填objectstring必填idstring必填work_idstring必填catalog 作品 id。
titlestring必填The title letmoe shows, never empty. Most resources carry no title of their own and are named by their game: the work's catalog name, then platform, language and type, in Chinese — for example `心跳文学部 Windows 电脑版 / 安卓手机版 简体中文游戏本体资源下载`.
typestring必填枚举gamecollectionpatchtranslationcrack_fixmodsavewalkthroughtoolosttheme_songdramaasmrvoicewallpapercgartbookcomicvideonovelmanualappendassetotherversionstring必填投稿者标注的版本,自由文本。没有时为空。
applicable_game_versionstring必填补丁或 mod 适用的游戏版本。自由文本。
languagestring[]必填platformstring[]必填runtimestring[]必填What it runs on, letmoe's own vocabulary (`native-win`, `kirikiroid2`, `joiplay`, …). Open: treat an unknown token as text.
engine_idstring必填 可空catalog 引擎 id,用于 `/v2/catalog/engines`。
sizestring必填投稿者填写的大小,数字加 `MB` 或 `GB`。未知时为空。
bytesintegerint64 必填 可空同一个大小的字节数;letmoe 量过托管文件时是它的精确大小。
blake3string必填托管文件的 BLAKE3;letmoe 没有托管文件时为空。
prerequisitesstring必填读者需要先准备的东西。纯文本。
descriptionstring必填Markdown 源码。
install_notestring必填Markdown 源码。
content_warningstring必填content_limitstring必填catalog 对这部游戏的展示判定,由 letmoe 镜像而来。
枚举sfwnsfwprovidersstring[]必填镜像所在的位置。托管文件是 `direct`。
mirror_countinteger必填direct_downloadboolean必填有一个镜像或一个合并下载不经网盘就能下载。
composite_countinteger必填一并提供的合并下载(本资源加一个 moyu 补丁)数量。
ratingobject必填download_countinteger必填view_countinteger必填web_urlstringuri 必填这条资源在 letmoe 上的页面,读者去那里下载。
created_atstringdate-time 必填updated_atstringdate-time 必填publisherobjectWho published it. The profile belongs to the NextMoe identity service; `id` is the same number on every NextMoe site.
next_cursorstring必填 可空totalinteger必填 可空
请求示例
curl "https://api.nextmoe.dev/v2/letmoe/works/61311/resources" \
-H "Authorization: Bearer nmk_live_<YOUR_KEY>"