getModerationSnapshot
当前编辑快照
已登记字段的当前值。需要用户访问令牌。
get
/v2/moderation/snapshots/{object}/{id}Authorization: Bearer <用户访问令牌>(用户授权后的访问令牌,不是 API 密钥)参数
| 参数 | 类型 | 位置 | 说明 |
|---|---|---|---|
object 必填 | string | path | 族:work、company、character、release、tag、engine、series。 |
id 必填 | string | path | catalog id。 |
响应
entity_idstring必填目标 catalog id。
entity_typestring必填编辑引擎类型。不得用作判别条件。
field_valuesmap<string, object>必填已登记字段键到当前值。没有则为空对象。
«key»object
objectstring必填类型判别字段。恒为 snapshot。
枚举snapshot
请求示例
cURL
curl "https://api.nextmoe.dev/v2/moderation/snapshots/value/value" \
-H "Authorization: Bearer <ACCESS_TOKEN>"