SDK
API Documentation
asset-core
namespaces
AssetCore
interfaces
Assetcoreserviceinterface

Interface: AssetCoreServiceInterface

Methods

copyAsset()

copyAsset(id, folderId): Promise<Result<any, any>>

Parameters

ParameterType
idAssetInstanceId | AssetInstanceId[]
folderIdstring

Returns

Promise<Result<any, any>>

Defined in

service/assetCoreServiceInterface.ts:10 (opens in a new tab)


createThumbnail()

createThumbnail(id): Promise<Result<any, any>>

Parameters

ParameterType
idAssetInstanceId

Returns

Promise<Result<any, any>>

Defined in

service/assetCoreServiceInterface.ts:11 (opens in a new tab)


deleteAsset()

deleteAsset(id): Promise<Result<any, any>>

Parameters

ParameterType
idAssetInstanceId

Returns

Promise<Result<any, any>>

Defined in

service/assetCoreServiceInterface.ts:7 (opens in a new tab)


deleteThumbnail()

deleteThumbnail(id): Promise<Result<any, any>>

Parameters

ParameterType
idAssetInstanceId

Returns

Promise<Result<any, any>>

Defined in

service/assetCoreServiceInterface.ts:12 (opens in a new tab)


getAsset()

getAsset(id): Promise<Result<any, any>>

Parameters

ParameterType
idAssetInstanceId

Returns

Promise<Result<any, any>>

Defined in

service/assetCoreServiceInterface.ts:6 (opens in a new tab)


moveAsset()

moveAsset(id, folderId): Promise<Result<any, any>>

Parameters

ParameterType
idAssetInstanceId | AssetInstanceId[]
folderIdstring

Returns

Promise<Result<any, any>>

Defined in

service/assetCoreServiceInterface.ts:9 (opens in a new tab)


refreshAsset()

refreshAsset(id): Promise<Result<any, any>>

Parameters

ParameterType
idAssetInstanceId

Returns

Promise<Result<any, any>>

Defined in

service/assetCoreServiceInterface.ts:5 (opens in a new tab)


updateAsset()

updateAsset(id, variables): Promise<Result<any, any>>

Parameters

ParameterType
idAssetInstanceId
variablesobject
variables.descriptionstring
variables.namestring

Returns

Promise<Result<any, any>>

Defined in

service/assetCoreServiceInterface.ts:8 (opens in a new tab)