We have an Standalone ArcGIS Server 10.9.1 environment.
The objective is to fetch layer list within all services using arcpy or python API.
I did found some help articles and stack results, but can't get to the layer level, I am able to fetch up till Folder list--> Map Services list.
Does anyone have done this successfully before?
Articles I referred: https://stackoverflow.com/questions/70790834/get-a-list-of-every-layer-in-every-service-in-every-folder-in-an-arcgis-rest-e
