FRAMES | NO FRAMES Description | Parameters | Examples | Response
Catalog
URL http://<host>/<instance>/rest/services
Child Resources  Feature Service 

Description

The catalog resource is the root node and initial entry point into a Spatial Data Server host. This resource represents a catalog of services published on the host.

The current version of the server is also returned in the response. 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.

Parameters

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

Values: html | json | pjson

Example Usage

Example 1: URL for the root directory on sampleserver10:

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

JSON Response Syntax

{
  "currentVersion": <currentVersion>,
  "services": [
    {
      "name": "<serviceName1>",
      "type": "<serviceType1>"
    },
    {
      "name": "<serviceName2>",
      "type": "<serviceType2>"
    }
  ]
}

JSON Response Example

{
  "currentVersion": 10.1,
  "services": [
    {
      "name": "Anaheim",
      "type": "FeatureServer"
    },
    {
      "name": "Switzerland",
      "type": "FeatureServer"
    },
    {
      "name": "USA",
      "type": "FeatureServer"
    }
  ]
}