Select to view content in your preferred language

Upload Image files to ArcGIS Online

297
0
02-17-2022 07:40 AM
MichaelWen
Emerging Contributor

I'm trying to use ArcGIS REST API's AddItem operation to upload a tif file with the goal of creating or adding the item to a hosted Imagery Layer. However I keep getting the "ArcGIS Portal Directory - API Reference" page from the url. Here are the urls I've tried so far: 

https://www.arcgis.com/sharing/rest/content/users/{myUserName}/addItem

https://{myOrganizationsAGOL}/sharing/rest/content/users/{myUserName}/addItem

Can I really AddItem to upload local files to AGOL? If so where can I find examples?

Thanks.

 

0 Kudos
0 Replies