We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
rk90
7 years agoHelpful | Level 5
How do I get all files and folders on Dropbox Business account
I have asked this question in the past and did get answers but I am still struggling to figure this out. Basically, I want to export the entire structure of the given Dropbox Business account to a l...
Greg-DB
Dropbox Community Moderator
7 years agoDoes the namespaces_list returns entries for all folders or just the top-level folders only.
The /2/team/namespaces/list[/continue] endpoints return a list of all of the "namespaces". This will not be a complete list of all folders. Namespaces include team folders, shared folders, team members' home folders, and team members' app folders (but not normal folders insides those folders).
To then list the contents of any particular folder, you should use /2/files/list_folder[/continue], with recursive=true if you want all nested entries as well.
in that user's context the team_folder is a shared_folder. How do I deal with this situation?
Team folders are very similar to shared folders. I'm not sure I understand your question "How do I deal with this situation?" though. Can you elaborate? What specifically is causing you trouble?
several folders do not return sharing_info what type of folders those are?
If a folder does not have sharing_info, it is not itself a shared folder, nor contained in a shared folder. (E.g., it's a private folder in a member's account.)
Unmounted folders also don't return info sharing_info I guess.
Unmounted folders aren't listed by /2/files/list_folder[/continue] anyway.
the Dropbox Business account I am operating on has a team_space, then what approach should I take to list all files and folders.
I recommend reviewing the Namespace Guide and Content Access Guide, if you haven't already, as they should offer some useful reference on this.
rk90
7 years agoHelpful | Level 5
I have reviewed Namespace Guide and Content Access Guide. The namespace guide explains the difference between a team space and non-team space accounts, but is listing namespace will include all namespaces (not recursive but top-level) on both types (Team space and non-team space) of accounts?
I am still not clear on the concept of team and shared folders (I have reviewed online resources). If team folders and shared folders both have a shared_folder_id and are almost similar, then why are they identified differenty. Nevertheless, my main objective is to walk through each and every folder recursively and for that I need a list of top-level folders which I assume can be obtained by listing namespace.
- Greg-DB7 years ago
Dropbox Community Moderator
listing namespace will include all namespaces (not recursive but top-level) on both types (Team space and non-team space) of accounts?
Yes, /2/team/namespaces/list[/continue] will list all namespaces for a team, whether or not the team uses the team space configuration.
If team folders and shared folders both have a shared_folder_id and are almost similar, then why are they identified differenty.
While team folders and shared folders are similar and share some properties, there do not behave exactly the same, so they are identified differently. For instance, team folders are shared with the entire team, while shared folders can be shared with arbitrary/specific accounts.
- rk907 years agoHelpful | Level 5
This means if I have 5 members on Business account and I create a Team folder, then all those 5 members get access to the Team folder. There is no concept of folder permissions on team folders? What I am failing to understand is all users I create in Dropbox Business are team members and they have access to all team folders, then where does this shared folder comes from.
- Greg-DB7 years ago
Dropbox Community Moderator
Team folders are for sharing content with one's team. You can find more information on team folders in the help center here.
Shared folders can be used to share folders with arbitrary users. You can find more information on shared folders in the help center here.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!