updateAssetsExpressionValue()

Uploads new expression value for specified assets

Parameters

export type UpdateAssetsExpressionValuesProps = {
    expressionAttributeName: string; // specifies expression attribute the value is being uploaded for
    value: string; // b64 data of new expression value
    expressionId?: string; // specifies expresion the value is being uploaded for
    expressionName?: string;
    assetId: string;
}

Examples

const asset= await assetlayer.assets.updateAssetsExpressionValue({
    expressionAttributeName: 'expressionAttributeName',
    value: 'b64 data',
    expressionId?: 'expressionId',
    assetIds: ['assetId_1', 'assetId_2']
});

Return Types

type ReturnType = string[];

Alternatives

Last updated