角色
查询角色
GET
获取角色
授权
路径参数
响应
角色当前状态。
角色或动作资产。两种资源共用同一种数据结构。
progress 和 error 始终为 null,failed 的资产也是如此:请通过 status 判断是否失败,通过 vsplat.error 或 glb.error 查看提取失败。
type 反映创建时请求的内容。角色为 render、vsplat 或 all;动作为 render、glb 或 all。在 type 引入之前创建的资产报告为 render。vsplat 和 glb 携带对应提取任务自身的状态——从不包含下载链接,下载链接需通过 GET /v1/characters/{character_id}/export 或 GET /v1/motions/{motion_id}/export 获取——且仅在 type 请求了该提取时才不为 null。对于 all 资产,只有 2D 渲染和 3D 提取都就绪后,顶层 status 才会变为 ready;任一失败时,顶层 status 为 failed,而子对象自身的 status 仍会显示是哪一个失败。