cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[DB for Biz / API] /1/team/reports/get_storage are those bytes I see?

[DB for Biz / API] /1/team/reports/get_storage are those bytes I see?

BEPiD A.
New member | Level 1

In reference to the API endpoint: /1/team/reports/get_storage
[ documentation: https://www.dropbox.com/developers/business/docs#reports-get-storage ]

The returned results include “total_usage”, “shared_usage” and “unshared_usage" do I assume correctly they are bytes?

So “shared_usage” + “unshared_usage” = “total_usage”?  (this tests true, but we have limited data there at the moment)

 

(example api response below)


{
    "total_usage": [
        692088,
        692088,
        692088,
        1391187,
        1738193,
        null
    ],
    "member_storage_map": [
        {
            "100GB": 0,
            "5GB": 0,
            "25GB": 0,
            "10GB": 0,
            "4GB": 0,
            "100+GB": 0,
            "2GB": 0,
            "50GB": 0,
            "3GB": 0,
            "1GB": 1
        },
        {
            "100GB": 0,
            "5GB": 0,
            "25GB": 0,
            "10GB": 0,
            "4GB": 0,
            "100+GB": 0,
            "2GB": 0,
            "50GB": 0,
            "3GB": 0,
            "1GB": 1
        },
        {
            "100GB": 0,
            "5GB": 0,
            "25GB": 0,
            "10GB": 0,
            "4GB": 0,
            "100+GB": 0,
            "2GB": 0,
            "50GB": 0,
            "3GB": 0,
            "1GB": 1
        },
        {
            "100GB": 0,
            "5GB": 0,
            "25GB": 0,
            "10GB": 0,
            "4GB": 0,
            "100+GB": 0,
            "2GB": 0,
            "50GB": 0,
            "3GB": 0,
            "1GB": 2
        },
        {
            "100GB": 0,
            "5GB": 0,
            "25GB": 0,
            "10GB": 0,
            "4GB": 0,
            "100+GB": 0,
            "2GB": 0,
            "50GB": 0,
            "3GB": 0,
            "1GB": 2
        },
        null
    ],
    "shared_usage": [
        0,
        0,
        0,
        7011,
        354017,
        null
    ],
    "unshared_usage": [
        692088,
        692088,
        692088,
        1384176,
        1384176,
        null
    ],
    "shared_folders": [
        1,
        1,
        1,
        2,
        4,
        null
    ],
    "start_date": "2015-09-01"
}

1 Reply 1

Greg-DB
Dropbox Staff

Yes, the unit is bytes, and shared + unshared = total.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?