Home > @modelo.io/api > Asset

Asset namespace

Signature:

export declare namespace Asset 

Functions

FunctionDescription
get(assetId)Get information of an asset. The asset is any other document type than BIM models. It can be a JPEG file, a panorama image, a PDF or even a zip file users want to back up in the cloud.
remove(assetId)Remove an asset.
update(assetId, name)Rename the asset.
upload(file, configOrOnProgress)Upload an asset to cloud.

Type Aliases

Type AliasDescription
AssetDataType information of Asset Object
UploadAssetConfigType information of Upload Asset Config