ArcGIS REST Services Directory
JSON

Dynamic AllLayers (BaseMapServices/query_layers)