FRAMES | NO FRAMES Description | Parameters | Examples | Response
Catalog
URL http://<host>/<instance>/rest/services
http://<host>/<instance>/rest/services/<folderName>
Child Resources Map Service   Geocode Service   GP Service   Geometry Service   Image Service   Network Service   Feature Service   Geodata Service   Globe Service   Mobile Service

Description

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.

Resource Hierarchy

Catalog

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json | kmz | sitemap | geositemap

Note: Support for the sitemap and geositemap formats was added at 9.3 SP1.

The sitemap and geositemap formats generate XML Sitemaps which can be submitted to various search engines. The sitemap format includes the Services Directory URLs to all your services. The geositemap format includes the KMZ footprint URLs to your map and image services. Note that if you have enabled security, an empty sitemap will be generated.

Example Usage

Example 1: URL for the root directory on sampleserver1:

http://sampleserver1.arcgisonline.com/arcgis/rest/services

JSON Response Syntax

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>"}
]
}

JSON Response Example

{
"currentVersion": 9.31,
"folders":["Editing", "USA"],
"services":[
{"name" : "Anaheim", "type" : "MapServer"},
{"name" : "Switzerland", "type" : "MapServer"},
{"name" : "USALocator", "type" : "GeocodeServer"}
]
}