Download Item from AGOL using token and keep the Item unshared

482
1
Jump to solution
08-07-2017 01:26 AM
AlexanderFischer
New Contributor III

Hi,

I'm trying to download item from AGOL that i had already uploaded, according to the REST API documentation :

http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Item_Data/02r300000075000000/

the download could be done using link but token is not mentioned, I tried to use the token but it's not possible, The only way to used the above approach is by sharing the item, and then use the suggested link to download the Item, is there any other way to download AGOL item without sharing it and using the token?

Thanks,

Jimmy

0 Kudos
1 Solution

Accepted Solutions
KellyGerrow
Esri Frequent Contributor

Hi Jimmy,

Each username and password can generate a token. If the item is shared with the user who is generating the token, then the download will work with the appended token.

Generate token

Ensure you check out the Licensing Agreement to understand how to use the sharing model.

Terms of Use | ArcGIS for Developers 

http://www.esri.com/legal/pdfs/mla_e204_e300/english 

-Kelly

View solution in original post

0 Kudos
1 Reply
KellyGerrow
Esri Frequent Contributor

Hi Jimmy,

Each username and password can generate a token. If the item is shared with the user who is generating the token, then the download will work with the appended token.

Generate token

Ensure you check out the Licensing Agreement to understand how to use the sharing model.

Terms of Use | ArcGIS for Developers 

http://www.esri.com/legal/pdfs/mla_e204_e300/english 

-Kelly

0 Kudos