The Asset File API provides methods for managing asset files in a virtual environment. The methods include getting details and status AssetDetails::DownloadStatus, downloading by ID or name, canceling downloads, and deleting files by ID or name.
Downloads an asset file by its name on demand. Returns an object containing the asset ID and filepath. Sends periodic {notifications.asset_file.download_update}} to track the downloads.
Cancels a previously spawned download request for an asset file by its ID. Returns an object containing the asset ID and file path, and a success flag.
Cancels a previously spawned download request for an asset file by its name. Returns an object containing the asset ID and file path, and a success flag.