Fetch layer define in My content using REST API

206
0
02-09-2022 02:01 AM
Labels (1)
Sachinsawant
New Contributor

Hi,

We have developed a website and we wanted to fetch all layers that define in My content or all layers that access those users. How can we fetch that using REST API and is there sample code for that?

We tried the below REST API but it return too many layers but not that we defined.

https://services3.arcgis.com/U26uBjSD32d7xvm2/arcgis/rest/services/?f=json&token=" + accessToken + ""

Waiting for your reply.

Thanks!

Tags (1)
0 Kudos
0 Replies