Server Directories

URL:
https://<system-url>/directories
Methods:
GET
Required Capability:
Administrator
Version Introduced:
10.8

Description

A collection of all the server directories is listed under this resource. You can add a new directory using the Register Directory operation. You can then configure GIS services to use one or more of these directories. If you no longer need the server directory, you must remove the directory by using the Unregister Directory operation.

Request parameters

ParameterDetails

f

The response format. The default response format is html .

Values: html | json

Example usage

Below is a sample request URL for the directories resource:

1
https://machine.domain.com/webadaptor/admin/system/directories?f=json

JSON Response syntax

1
2
3
{
  "directories": [<dir1>, <dir2>]
}

JSON Response example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  "directories": [
    {
      "name": "mycache",
      "physicalPath": "\\\\server\\arcgisserver\\mycache",
      "directoryType": "CACHE",
      "cleanupMode": "NONE",
      "maxFileAge": 0,
      "description": "Used by service configurations to read/write cached tiles.",
      "virtualPath": "/rest/directories/mycache"
    },
    {
      "name": "myjobs",
      "physicalPath": "\\\\server\\arcgisserver\\myjobs",
      "directoryType": "JOBS",
      "cleanupMode": "NONE",
      "maxFileAge": 0,
      "description": "Used to store GP jobs.",
      "virtualPath": "/rest/directories/myjobs"
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close