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.
C#
1
string signedUrl = ARGearManager.Instance.RequestSignedUrl(zipFileUrl, title, uuid);
2
3
// For a http module, please refer to HttpComponent script in our sample app.
4
_http.StartDownload(ARGEnum.ContentsType.ARGItem, signedUrl, uuid);
Copied!
Last modified 1yr ago
Copy link