Skip To Content
ArcGIS Developer

Services Directory


This resource lists properties of the ArcGIS REST API (also known as the Services Directory). You can edit these properties if you want to disable the Services Directory or point its previews at a locally-hosted JavaScript API or Map Viewer Classic.

Request parameters


The response format. The default response format is html.

Values: html | json| pjson

Example usage

Below is a sample request URL for the servicesdirectory resource:

JSON Response syntax

  "jsapi.arcgis.css": <URL of CSS file>,
  "jsapi.arcgis.css2": <URL of second CSS file>,
  "": <Text for Map Viewer Classic preview link>,
  "allowedOrigins": <Comma separated list of allowed URLs>,
  "": <URL to Map Viewer Classic>,
  "jsapi.arcgis": <URL to JavaScript API>,
  "callbackFunctionsEnabled": <true|false>, //Added at 11.0.
  "consoleLogging": <true|false>,
  "jsapi.arcgis.sdk": <URL of JavaScript API help>,
  "enabled": <true|false>

JSON Response example

  "jsapi.arcgis.css": "",
  "": "ArcGIS Online Map Viewer",
  "logLevel": "SEVERE",
  "allowedOrigins": "*",
  "": "",
  "jsapi.arcgis": "",
  "callbackFunctionsEnabled": "true",
  "consoleLogging": "false",
  "jsapi.arcgis.sdk": "",
  "enabled": "true"