⑨ 更新素材
PATCH /v1/private-avatar/assets/{id}
概览
| Method | PATCH |
|---|---|
| Path | /v1/private-avatar/assets/{id} |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 87318196 |
参数
{ "path": [ { "id": "id#0", "name": "id", "required": true, "enable": true, "description": "AssetId", "type": "string", "schema": { "type": "string", "examples": [ "asset-20260318071009-xxxxx" ] }, "sampleValue": "" } ], "query": [], "cookie": [], "header": [] }
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "required": [ "model", "Id" ], "properties": { "model": { "type": "string", "description": "路由选择参数(固定传此值)", "enum": [ "doubao-seedance-2-0-260128", "doubao-seedance-2-0-fast-260128" ], "examples": [ "doubao-seedance-2-0-260128" ] }, "Id": { "type": "string", "description": "与路径 id 一致", "examples": [ "asset-20260318071009-xxxxx" ] }, "Name": { "type": "string", "examples": [ "renamed-asset" ] } }, "x-apifox-orders": [ "model", "Id", "Name" ] }, "mediaType": "application/json", "oasExtensions": "", "required": true, "additionalContentTypes": [] }
响应
[ { "id": 114308231, "name": "", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": { "ResponseMetadata": { "type": "object", "properties": { "RequestId": { "type": "string", "examples": [ "20260601191715C9DAA092032F19CEC367" ] }, "Action": { "type": "string", "examples": [ "CreateAssetGroup" ] }, "Version": { "type": "string", "examples": [ "2024-01-01" ] }, "Service": { "type": "string", "examples": [ "ark" ] }, "Region": { "type": "string", "examples": [ "cn-beijing" ] }, "Error": { "type": "object", "properties": { "Code": { "type": "string", "examples": [ "AccessDenied" ] }, "Message": { "type": "string" } }, "x-apifox-orders": [ "Code", "Message" ] } }, "x-apifox-orders": [ "RequestId", "Action", "Version", "Service", "Region", "Error" ] }, "Result": { "type": "object", "properties": {}, "x-apifox-orders": [] } }, "x-apifox-orders": [ "ResponseMetadata", "Result" ] }, "itemSchema": {}, "description": "更新成功", "mediaType": "application/json", "headers": [], "oasExtensions": "" } ]