7. Download Contents

You can download contents zip_files through the REST API, using each item's zip_file URL. To download the zip_file, you first need to request a signed URL through the ARGearManager.

The sample code below shows how to acquire a signed URL using a zip_file URL from an item.

string signedUrl = ARGearManager.Instance.RequestSignedUrl(zipFileUrl, title, uuid);

// For a http module, please refer to HttpComponent script in our sample app.
_http.StartDownload(ARGEnum.ContentsType.ARGItem, signedUrl, uuid);

Last updated