Interface: Asset
Properties
assetConfiguration?
optionalassetConfiguration?:AssetConfiguration
createdAt?
optionalcreatedAt?:string
The time that this asset was uploaded.
fileLink?
optionalfileLink?:string
history?
optionalhistory?:AssetHistory[]
A list of historical versions of this asset, which may be used for version browsing and reverting to previous versions.
hubLink?
optionalhubLink?:string
invalidateLink?
optionalinvalidateLink?:string
key?
optionalkey?:string
The path of the asset within the bucket.
licenseId?
optionallicenseId?:string
The ID of this asset's license.
metadata?
optionalmetadata?:AssetMetadata[]
mimeType?
optionalmimeType?:string
The content type registered with the bucket.
name?
optionalname?:string
The name of this asset, the file name by default, otherwise a name set by the user.
newVersionLink?
optionalnewVersionLink?:string
objectVersions?
optionalobjectVersions?:AssetObjectVersion[]
All versions for this asset, including the "latest" one which is the default and represented by the key of the asset itself.
ownerId?
optionalownerId?:string
The ID of the person that uploaded this asset.
price?
optionalprice?:number
The price to use this asset.
public?
optionalpublic?:boolean
True when this asset is publicly available to anyone.
tags?
optionaltags?:AssetTag[]
A list of tags for organisational purposes.
type?
optionaltype?:AssetType
The asset type being dealt with.
versions?
optionalversions?: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.