- URL:
- https://<root>/system/directories/<directory>
- Methods:
GET- Version Introduced:
- 12.0
Description
This resource for an individual server directory returns the directory's properties.
Server directories are used by video services to output uploaded files, video service ABR files, and logs for the server and services. Some directories contain configurations that power video services. In a site with more than one server machine these directories must be available on network shares, accessible to every machine in the site.
The following directory types can be registered with the ArcGIS Video Server:
UPLOADS—Stores uploaded files associated with on-demand video layers.DATA—Stores all published files associated with video services, both on-demand and livestream layers.
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 an individual directory resource:
https://organization.example.com/<context>/admin/system/directories/3fef50c3-a23b-4b69-9eae-8eb3b738a575?f=pjsonJSON Response syntax
{
"path": "<directory path>",
"name": "<directory name>",
"id": "<directory ID>",
"type": "< UPLOADS | DATA >"
}JSON Response example
{
"path": "C:\\arcgisvideoserver\\directories\\arcgisvideouploads",
"name": "arcgisvideouploads",
"id": "318d8cce-4e71-4d54-b085-2385fafbc7b7",
"type": "UPLOADS"
}