V3 > Channel

Get folder disk usage.

Retrieves the disk usage of a folder.

get/2/vod/disk-usage/{folder}

Path parameters

folderstring required

The Folder unique identifier

Query parameters

namestring required
packstring required
rolestring
periodstring

<br/>This field must be present and not empty unless the pack field is equal to any of the following:1jhvl2upwockt, 1jijk03u32izh

<br/>This field must be present and not empty unless the pack field is equal to any of the following:1jhvl2upwockt, 1jijk03u32izh

freeboolean
promoboolean
descriptionstring
optionsstring
annotationsboolean
renewal_warrantyboolean
sizeinteger

<br/>This field must be present and not empty if the pack field is equal to any of the following:custom

<br/>This field must be present and not empty if the pack field is equal to any of the following:custom

subtitlesboolean
vipboolean
max_audio_bitrateinteger
max_video_bitrateinteger
max_importsinteger
debug_encodeboolean
os_swift_templatestring
v1_compatboolean
v1_compat_callbackboolean
featuresstring
v1_compat_ftpinteger
v1_compat_soap_apiboolean
formatstring nullable

Any valid byte unit, with or without precision specified (tries to format bytes in the most readable unit if nothing is specified):<br/><note><strong>YB</strong>: Yotta Byte</note><note><strong>ZB</strong>: Zetta Byte</note><note><strong>EB</strong>: Exa Byte</note><note><strong>PB</strong>: Peta Byte</note><note><strong>TB</strong>: Tera Byte</note><note><strong>GB</strong>: Giga Byte</note><note><strong>MB</strong>: Mega Byte</note><note><strong>kB</strong>: Kilo Byte</note><note><strong>B</strong>: Byte</note><note><strong>no</strong>: No formatting (raw number of bytes)</note>A precision (digits after '.') may be added with the following notation:<br/><note><strong>6</strong>: 1.322123MB</note><note><strong>/6</strong>: 1.322123MB</note><note><strong>MB/6</strong>: 1.322123MB</note><note><strong>MB/000000</strong>: 1.322123MB</note><note><strong>GB/9</strong>: 0.001322123GB</note>

Example:MB/6

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.