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

Operon's avatar
Operon
Explorer | Level 3
7 years ago

Get tree of all member directories

Hi, I'm using dropbox api v2 in order to make some integration between dropbox and my own Java application, I have a dropbox business account and my intention is to be able to represent in my application all the directories of all its members for the user Admin , that is, the possibility for the admin user to see all the directories of all the members en my application.

For this I have tried to iterate for each member of the team, using the following method.

team (). membersList (). getMembers ()

This last method allows me to iterate between each of the members that make up a team. Then I get your files with the following method.

client.files (). listFolder ("")

This works well for me since I can represent the folders and files of all the members, however I have problems with the shared folders, I understand that the way to obtain them is using ...

client.sharing (). listFolders ()

However this last option gives me problems, which I have not yet been able to capture correctly in my application but according to what I have read it is because to access these shared folders I need the "type of access" of my application key to be "Full Dropbox".

My question is what is the best way to obtain all the directories of each member included yours shared folders? The only way to access shared folders is with an App of the Dropbox type Api and type acces "Full Dropbox"?

Thanks for your help.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days ago
333 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!