Representation of an Asset in a specific format, for example a video in a certain encoding, or an image in a certain resolution.

interface AssetSource {
    contentType?: string;
    dimensions?: AssetDimensions;
    key?: string;
    uri: string;
}

Properties

contentType?: string

Indicates the type of content, for example application/pdf.

dimensions?: AssetDimensions

Width and height of the AssetSource.

key?: string

User-defined identifier of the AssetSource. Must be unique per Asset.

uri: string

URI of the AssetSource.