Disk Space (/disk_space/)
You can test API methods on the interactive API browser page and without writing code
Some of the resources described on the page may not be available by default due to the type of application (see Creating and authorizing applications).
The "Disk Space" resource allows you to get the information about a disk space usage by a client.Â
Description of Data StructuresÂ
Name | Type | Description |
---|---|---|
call_records_count | long | Counter of call record files |
call_records_size | long | Size of call record files in bytes |
fax_count  | long | Fax message counter |
fax_size  | long | Size of fax message files, in bytes |
free_space  | long | Size of free disk space, in bytes. If this value is equal to zero, the functions associated with writing files to the disk (conversation record, reception of voice messages, reception of a fax) stop working |
total_space | long | Total size of disk space allocated to the client, in bytes |
voicemail_count  | long | Voice message counter |
voicemail_size  | long | Size of voice messages files, in bytes |
ExampleÂ
Get a disk space information:Â
System response:Â
{
 "total_space": 10485760,
 "fax_size": 0,
 "voicemail_count": 0,
 "free_space": 10485760,
 "fax_count": 0,
 "call_records_size": 0,
 "voicemail_size": 0,
 "call_records_count": 0
}
"Client" Section ResourcesÂ
Â