getCatalogLabelPublic
Label (brand / circle / publisher …) identity; include=works attaches attributed works
get
/v1/catalog/labels/{id} scope
catalog:readAuthorization: Bearer nm_live_…参数
| 参数 | 类型 | 位置 | 说明 |
|---|---|---|---|
id 必填 | integerint64 | path | Catalog label id |
include | string | query | works = attach the works attributed to this label |
limit | integerint64 | query | Works per page 1-50 (default 50) |
offset | integerint64 | query | Rows to skip |
响应
codeintegerint64 requireddataobjectdisplay_namestringrequiredidintegerint64 requiredkindstringrequirednext_offsetintegerint64worksobject[]nullable
messagestringrequired
请求示例
cURL
curl "https://api.nextmoe.dev/v1/catalog/labels/1" \
-H "Authorization: Bearer nm_live_<YOUR_KEY>"