Hi,
Does anyone know how to retrieve the information from the Settings tab of a layer published to Esri ArcGIS Online (AGOL)? I’m specifically trying to get the Data Source URL.



Hi,
Does anyone know how to retrieve the information from the Settings tab of a layer published to Esri ArcGIS Online (AGOL)? I’m specifically trying to get the Data Source URL.
I think you should not use the service url but the item to find this.
For example:
https://www.arcgis.com/sharing/rest/content/items/c1a3bf98b1d148a6917ad85662d82704?f=pjson
This will return a json with “sourceUrl”.
Also see https://developers.arcgis.com/rest/users-groups-and-items/item/
You can also use the REST api endpoint under AGOL. To get to the services directory, on the item page you will find URL in the bottom right corner
The at the bottom of the endpoint you have alot of options from there to explore