Skip to main content

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 - The name of the file that contains the asset.
  • address: Address - An Address object identifies Epicenter entities that the asset belongs to.
  • scope: AssetScope - An AssetScope object.

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.