Asset results that are returned from the engine.
They contain additional information about the context of the asset.
Extends#
Properties#
| Property | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|
id | string | The unique id of this asset. | - | AssetResult.id |
groups? | AssetGroups | Groups of the asset. | - | AssetResult.groups |
meta? | AssetMetaData | Asset-specific and custom meta information | - | AssetResult.meta |
payload? | AssetPayload | Structured asset-specific data | - | AssetResult.payload |
locale? | string | The locale of the label and tags | - | AssetResult.locale |
label? | string | The label of the result. Used for description and tooltips. | - | AssetResult.label |
tags? | string[] | The tags of this asset. Used for filtering and free-text searching. | - | AssetResult.tags |
credits? | object | Credits for the artist of the asset | - | AssetResult.credits |
credits.name | string | - | - | - |
credits.url? | string | - | - | - |
license? | object | License for this asset. Overwrites the source license if present | - | AssetResult.license |
license.name | string | - | - | - |
license.url? | string | - | - | - |
utm? | object | UTM parameters for the links inside the credits | - | AssetResult.utm |
utm.source? | string | - | - | - |
utm.medium? | string | - | - | - |
context | object | Context how an asset was added or shall be used in the future. This is added to all assets coming from the engine. | - | - |
context.sourceId | string | - | - | - |
active | boolean | This is optional in AssetResult but always present here | AssetResult.active | - |