메인 콘텐츠로 건너뛰기
PUT
Update asset metadata

인증

X-API-Key
string
header
필수

API key authentication. Generate an API key from your account settings at https://platform.comfy.org/profile/api-keys. Pass the key in the X-API-Key header.

경로 매개변수

id
string<uuid>
필수

Asset ID

본문

application/json
name
string

New display name for the asset

tags
string[]

Updated tags for the asset

mime_type
string

Updated MIME type of the asset

preview_id
string<uuid>

Updated preview asset ID

user_metadata
object

Updated custom metadata

응답

Asset updated successfully

id
string<uuid>
필수

Asset ID

updated_at
string<date-time>
필수

Timestamp of the update

name
string

Updated name of the asset

asset_hash
string

Blake3 hash of the asset content

Pattern: ^blake3:[a-f0-9]{64}$
tags
string[]

Updated tags for the asset

mime_type
string

Updated MIME type of the asset

user_metadata
object

Updated custom metadata