GetServerStorageByPath
Get information about disks available for recording archives.
GET /api/server/drive/?path=/storage/
Body | |||||||||
tokenrequired | string | API authorization token. See Mediaserver/Web API/Authorization/CreateApiToken. |
Response | |||||||||
200 | Returns a JSON object with information about the storage disk | ||||||||
JSON
| |||||||||
bytes | inode_free | Amount of free space on the disk | |||||||
bytes | inode_total | Amount of total space on the disk | |||||||
bytes | capacity_total | Total volume of disk space | |||||||
bytes | capacity_free | Amount of free disk space | |||||||
string | fs | Type of file system | |||||||
string | mount | Mount point of the disk or root directory for DVR storage | |||||||
403 | Authorization error. Invalid or missing API access token. See Mediaserver/Web API/Authorization/CreateApiToken for more information. |
Example | |||||||||
JSON
|