Get space usage data
Gets information on the amount of used disk space
Function GetSpaceUsageData(Val Token) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Token |
Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
1C:Enterprise/OneScript code example
Token = "sl.CBL71_21WiKphqlWV34l0tlFn8eGn_YrnPrMexNmHltofj3DkBRsnpQEFY5O5H6i-iRl3bPDBi...";
Result = OPI_Dropbox.GetSpaceUsageData(Token);
- Bash
- CMD/Bat
oint dropbox GetSpaceUsageData \
--token "***"
oint dropbox GetSpaceUsageData ^
--token "***"
Result
{
"used": 1477704605,
"allocation": {
".tag": "individual",
"allocated": 2147483648
}
}