Forum Discussion

akshata_gaonkar's avatar
akshata_gaonkar
Explorer | Level 3
8 years ago

How can we get a count of files or count of shared links ?

Hi,

 

I need to get count of records present in retrieve calls like, list_folder call or list_shared_links. 

Is there any way we could get a count from these APIs?

And Is there any API that gives us the total count of records present in the database?

 

Any forum links or any pointers on this would be of great help.

 

Thanks,

Akshata

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Hi Akshata, no, unfortunately, the API doesn't offer a way to get the counts like this, but I'll be sure to pass this along as a feature request. You'd need to page through and count the results to get the total number.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 7 hours ago
351 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!