Skip to content
URL:
https://<root>/system/directories
Methods:
GET
Child Resources:
Directory
Version Introduced:
12.0

Description

The directories resource returns all the server directories. You can specify a specific directory to attain more specific information.

Request parameters

ParameterDetails

f

(Required)

The response format. The default response format is html.

Values: html | json | pjson

token

(Required)

Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation.

Example usage

The following is a sample request URL used to access the directories resource:

Use dark colors for code blocksCopy
1
https://organization.example.com/<context>/admin/system/directories?f=pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
{
  "directories": [<dir1>, <dir2>]
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "directories": [
    {
        "path": "C:\\arcgisvideoserver\\directories\\arcgisvideouploads",
        "name": "arcgisvideouploads",
        "id": "318d8cce-4e71-4d54-b085-2385fafbc7b7",
        "type": "UPLOADS"
    },
    {
        "path": "C:\\arcgisvideoserver\\directories\\arcgisvideoservices",
        "name": "arcgisvideoservices",
        "id": "a41517b0-4c6c-495d-aa94-127ee76de0f2",
        "type": "DATA"
    }
  ]
}

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