Saltar al contenido principal
GET
Get Asset

Autorizaciones

Authorization
string
header
requerido

A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.

Parámetros de ruta

asset-id
string
requerido

Asset ID.

Respuesta

Successful Response

id
string
requerido

The id of the asset.

name
string
requerido

The name of the asset.

status
enum<string>
requerido

Approval status of the asset

Opciones disponibles:
pending_upload,
pending_approval,
upload_error,
approved,
rejected
productIds
string[]
requerido

The product ids that the asset is associated with.

brands
string[]
requerido

The brands that the asset is associated with.

metadata
Metadata · object
requerido

The metadata associated with the asset.

isExternal
boolean
requerido

Indicates if the asset is externally hosted.

collections
string[]
requerido

The collections that the asset is associated with.

mimetype
string | null

The mimetype of the asset.

url
string<uri> | null

The url of the asset.

Required string length: 1 - 2083