You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
bellomsean
4 years agoHelpful | Level 5
Chooser
How can I interact with the dropbox API and fetch the root folder containing all my files and folders in my dropbox account?
i.e I want to be able to call the API and get back just one folder containing all my files and folders.
You can find links to the relevant documentation and guide inline in my first message on this thread here.
- Greg-DBDropbox Staff
In your subject, you seem to be referring to the "Dropbox Chooser", which is a pre-built way for developers to easily allow their end users to choose files or folders from their Dropbox accounts to give to the third party app. If you're interested in using that, you can find more information here.
From your description though, it sounds like that may not be quite the functionality you're looking for. If you want to be able to programmatically list the contents of a folder, such as the root folder, you'd need to use the Dropbox API instead. The Dropbox API lets third party apps list, upload, and download files and folders, among other operations. You can find everything you need to get started with the Dropbox API, including documentation and tutorials, here. For instance, to list the contents of a folder, including the root folder, you'd use the /2/files/list_folder[/continue] endpoints (or corresponding methods in an SDK/library). I also recommend reading the File Access Guide as it sounds relevant to your use case.
- bellomseanHelpful | Level 5
Thanks for the prompt reply.
Yes, it is Dropbox Chooser which I'm already using the functionality but I want the end-users to be able to select the root folder that contains all the files and folders in their dropbox account.- Greg-DBDropbox Staff
Thanks for clarifying. Yes, in that case you'd need to use the API since the Chooser doesn't support selecting the root itself.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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!
Related Content
- 3 years agoanonymous