Asset Entities
These interfaces are used by the Asset adapter and encapsulate data objects used by Epicenter Asset API.
AssetScope
Describes the user-specific scope of an asset. Extends the GenericScope interface.
Properties
userKey?: string - (Optional) The unique identifier of the user the asset is scoped to.
Asset
Represents an asset.
Properties
file: string- File path or name of the asset.address: Address- AnAddressobject.scope: AssetScope- AnAssetScopeobject.
AssetTicket
Represents an upload ticket returned when creating an asset. Contains the presigned URL used to upload the file.
Properties
url: string - The presigned URL for uploading the asset.