1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-21 01:50:24 +02:00
OpenIntegrations/docs/en/md/Dropbox/Account-and-authorization/Get-space-usage-data.md
2024-06-05 13:35:05 +03:00

839 B

sidebar_position
5

Get space usage data

Gets information on the amount of used disk space

Function GetSpaceUsageData(Val Token) Export

Parameter CLI option Type Destination
Token --token String Token

Returns: Key-Value Pair - serialized JSON response from Dropbox

	
 Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
 
 Result = OPI_Dropbox.GetSpaceUsageData(Token);
 
	
 
 oint dropbox GetSpaceUsageData --token "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L..."



{
 "used": 1477493597,
 "allocation": {
 ".tag": "individual",
 "allocated": 2147483648
 }
}