Skip to main content

Interface: Asset

Properties​

assetConfiguration?​

optional assetConfiguration?: AssetConfiguration


createdAt?​

optional createdAt?: string

The time that this asset was uploaded.


optional fileLink?: string


history?​

optional history?: AssetHistory[]

A list of historical versions of this asset, which may be used for version browsing and reverting to previous versions.


optional hubLink?: string


optional invalidateLink?: string


key?​

optional key?: string

The path of the asset within the bucket.


licenseId?​

optional licenseId?: string

The ID of this asset's license.


metadata?​

optional metadata?: AssetMetadata[]


mimeType?​

optional mimeType?: string

The content type registered with the bucket.


name?​

optional name?: string

The name of this asset, the file name by default, otherwise a name set by the user.


optional newVersionLink?: string


objectVersions?​

optional objectVersions?: AssetObjectVersion[]

All versions for this asset, including the "latest" one which is the default and represented by the key of the asset itself.


ownerId?​

optional ownerId?: string

The ID of the person that uploaded this asset.


price?​

optional price?: number

The price to use this asset.


public?​

optional public?: boolean

True when this asset is publicly available to anyone.


tags?​

optional tags?: AssetTag[]

A list of tags for organisational purposes.


type?​

optional type?: AssetType

The asset type being dealt with.


versions?​

optional versions?: AssetVersion[]

Deprecated​

Use getTransformedAssetURL instead for getting URLs for specific use cases such as thumbnails and previews. NOTE: Currently svgs from PDF files & video transcoding still require this field.