Description
The directories resource returns all the server directories. You can specify a specific directory to attain more specific information.
Request parameters
| Parameter | Details |
|---|---|
(Required) | The response format. The default response format is Values: |
(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:
https://organization.example.com/<context>/admin/system/directories?f=pjsonJSON Response syntax
{
"directories": [<dir1>, <dir2>]
}JSON Response example
{
"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"
}
]
}