1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-17 12:06:34 +02:00
Vitaly the Alpaca (bot) acdfa73441 Main build (Jenkins)
2024-09-17 11:55:02 +03:00

869 B

sidebar_position
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 Description
Token --token String Token

Returns: Map Of KeyAndValue - serialized JSON response from Dropbox


    Token = "sl.B9HHnFxl9-J3oLueLt54-qjl0GSSVNyh2I9wzwE3710eelU9a0HoNCFC-kPTP5LvOi2f0f1gli...";

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

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