GetDrives
Gets information about connected disks and DVR storage locations described in the server configuration file (see Mediaserver/Configuration/Server (mediaserver.ini)).
GET /api/server/drives/
Body | |||||||||
tokenrequired | string | Authorization token for API requests. See Mediaserver/Web API/Authorization/CreateApiToken. |
Response | |||||||||
200 | Returns a JSON object with information about connected disks | ||||||||
JSON
| |||||||||
bytes | inode_free | Free disk space. | |||||||
bytes | inode_total | Total disk space. | |||||||
bytes | capacity_total | Total disk space. | |||||||
bytes | capacity_free | The amount of free disk space | |||||||
string | fs | File system type. | |||||||
string | mount | Mount point or DVR storage root directory. | |||||||
403 | Authorization error. Invalid or missing API access token, see Mediaserver/Web API/Authorization/CreateApiToken. |
Example | |||||||||
JSON
|