FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<host>/<instance>/rest/services |
---|---|
Child Resources | Map Service Geocode Service GP Service Geometry Service Image Service Network Service Feature Service Geodata Service Globe Service Mobile Service |
The catalog resource is the root node and initial entry point into an ArcGIS Server host. This resource represents a catalog of folders and services published on the host.
The current version of the server is also returned in the response (introduced at 9.3.1). The value of the version is a number such that its value at a future release is guaranteed to be greater than its value at a previous release.
Parameter | Details |
---|---|
f | Description: The response format. The default response format is html. Values: html | json | kmz | sitemap | geositemap
Note: Support for the
The |
Example 1: URL for the root directory on sampleserver1:
http://sampleserver1.arcgisonline.com/arcgis/rest/services
Note: The currentVersion
property was added to the JSON response at 9.3.1
{
"currentVersion": <currentVersion>,
"folders":["<folderName1>", "<folderName2>"],
"services":[
{"name" : "<serviceName1>", "type" : "<serviceType1>"},
{"name" : "<serviceName2>", "type" : "<serviceType2>"}
]
}
{
"currentVersion": 9.31,
"folders":["Editing", "USA"],
"services":[
{"name" : "Anaheim", "type" : "MapServer"},
{"name" : "Switzerland", "type" : "MapServer"},
{"name" : "USALocator", "type" : "GeocodeServer"}
]
}