Reputation: 1719
I am integrating Dropbox in my application. I am able to retrieve child folders of a folder in Dropbox using "https://api.dropboxapi.com/2/files/list_folder" web service. But the data that is being returned doesn't contain size data for folders. Is there any way to retrieve size data for folders in Dropbox?
Upvotes: 0
Views: 253
Reputation: 60143
No, the Dropbox API doesn't report the size of a folder. You would need to compute it yourself, presumably by using /list_folder (with "recursive": true
). I'm assuming the definition you have in mind is "the sum of the sizes of all files contained within the folder, recursively."
Upvotes: 1