FRAMES | NO FRAMES Description | Parameters | Response | Example
URL:http://server:port/arcgis/admin/system/directories
HTTP Method:GET
Parent Resource: System
Supported Operations: Register Directory  
Child Resources: Server Directory  

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.

Parameters

Parameter Description
f The response format. The default response format is html.
Values: html | json

Response Format

{
	"directories": [
		<dir1>, <dir2>, ...
	]
}
			

Example

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