getResource
单个资源
get
/v2/moyu/resources/{id}Authorization: Bearer nmk_live_…(任意有效 v2 应用密钥即可,无需任何 scope;唯一例外是 /v2/moyu/resources/{id}/file,要运营发放的 moyu:files)参数
| 参数 | 类型 | 位置 | 说明 |
|---|---|---|---|
id 必填 | string | path | 资源 id。 |
include | string[] | query | publisher |
响应
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.
objectstring必填idstring必填namestring必填avatar_urlstring必填web_urlstringuri 必填
请求示例
cURL
curl "https://api.nextmoe.dev/v2/moyu/resources/10463" \
-H "Authorization: Bearer nmk_live_<YOUR_KEY>"