跳转到主要内容
PATCH
Update asset metadata

授权

Authorization
string
header
必填

Send the raw luk- API key. Do not add Bearer.

路径参数

id
string
必填

The asset ID.

请求体

The asset fields to update.

Specifies the asset fields to update.

name
null | string
Maximum string length: 128
description
null | string
mediaType
null | enum<string>
可用选项:
Image,
Video,
Audio
assetType
null | enum<string>
可用选项:
General,
Character,
Product,
Scene
assetSource
null | enum<string>
可用选项:
Uploaded,
Generated,
Preset
attributes
null | object

Represents the attributes associated with a Customer asset record.

tags
null | string[]
expiresAt
null | string<date-time>

响应

OK

Represents an asset record exposed by the Customer service.

id
string
ownerId
string
name
null | string
mediaType
enum<string>
可用选项:
Image,
Video,
Audio
assetType
enum<string>
可用选项:
General,
Character,
Product,
Scene
assetSource
enum<string>
可用选项:
Uploaded,
Generated,
Preset
fingerprint
null | string
fileId
null | string<uuid>
description
null | string
sourceUrl
null | string
location
null | string
attributes
object

Represents the attributes associated with a Customer asset record.

tags
string[]
expiresAt
string<date-time>
createdAt
string<date-time>
updatedAt
string<date-time>
file
null | object

Represents the file associated with a Customer asset record.

thumbnail
null | object

Represents the file associated with a Customer asset record.

thumbnailStatus
string