Fetch Asset Details

Overview

The Fetch Asset Details Data Operation takes an Asset URI or an Asset Primitive and returns a Detailed Asset. Detailed Assets provide detailed information pertaining to an Asset, such as its file type, size, or download URL. Additionally, there are some Airscript Functions, such as ASSET_TYPE and ASSET_STATE, that require input in the form of a Detailed Asset.

Use Cases

  • Get the download link of a created PDF

  • For type verification of assets uploaded

  • To determine if an asset has been deleted

  • Fetch the Detailed Asset for use as input in a function that requires input the Detailed Asset Type

Data Operation Properties

Asset Primitive or Text

Accepts either an Asset URI or an Asset Primitive. To obtain an Asset Primitive, take the Asset URI and use URI_TO_ASSET() to get the asset primitive.

**Asset URI **

asset://

**Asset Primitive **


{  
 "organizationId": "",  
 "assetKey": "",  
 "id": "",  
 "version": 0,  
 "visibility": ""  
} 

Results

The data operation returns a detailedAsset response object if the operation runs successfully. This object will have detailed information, including the download URL, for the asset provided.

Last updated