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
robobooga
6 years agoExplorer | Level 4
Access team folders - Old Business Team Configuration
I understand that with the new team spaces and namespace configurations, that we would have to use 'Dropbox-API-Path-Root' header and I've managed to get it working by setting the namespace to the ro...
- 6 years ago
Yes, on the Dropbox Business API, you can use the /2/team/features/get_values endpoint to check the 'has_team_shared_dropbox' feature to see if the team uses the team space configuration.
Or, on the Dropbox API, you can call /2/users/get_current_account and check the returned RootInfo type to see if the user is a member of a team that uses the team space configuration. Specifically, the returned 'root_info' will be a 'UserRootInfo' (with '.tag' of 'user') if the team doesn't use the team space, or a 'TeamRootInfo' (with a '.tag' of 'team') if it does.
If you're using the "team member file access" feature, and want to operate on a particular user only, you should use the "Dropbox-API-Select-User" header. (The "Dropbox-API-Select-Admin" header is for access any team owned content in general.) And for listing any/all files in a user's account, you should use /2/files/list_folder[/continue]. (The /2/sharing/list_folders[/continue] endpoints, on the other hand, only list the shared folders in particular, and not their contents.)
Greg-DB
Dropbox Staff
We unfortunately don't have a way for developers to get test accounts like this, with this feature toggle-able, but I'll pass this along as a feature request.
For reference, I do recommend reviewing the Namespace Guide and Content Access Guide, if you haven't already, as they are good references for this.
In accounts on teams that don't use the "team space" configuration, any team folders that an account has access to are "mounted" in the account's root. That means that using list_folder[_continue] to list the root (using the empty string "" as the path value) will list both their personal folders as well as the team folders they have. Make sure you do check the has_more value returned by list_folder though, to see if you need to call back to list_folder_continue, and so on, to get more entries.
Kris Brown
4 years agoNew member | Level 2
Is there any update to the request on how a developer can test across versions of Team Space and Team Folders. We have a client who has an older account and has no immediate desire to update. But we need to be able to support both them and any new clients who have the newer functionality.
Is there a way to request an 'older' account? even if it comes at a cost. Asking a large multi national for access to their account to test isn't a scalable solution moving forward.
How do developers without an old account currently test across the two styles of working before we publish to clients?
- Greg-DB4 years agoDropbox Staff
Kris Brown You can fill out this form to request a Dropbox Business Development Account, which should use the old configuration by default.
- Kris Brown4 years agoNew member | Level 2Greg-db, thanks for that. We have received our accounts. But it’s not clear how to replicate our customers environment.
Are you able to help with the question below.
As we discussed, I requested the dev business account using old configuration for development testing following this form
https://docs.google.com/forms/d/e/1FAIpQLSfkzPmp9srHG9jwE3Uc0bFOwknN-rrLQWr1mf_3FGl86ydCiQ/viewform?entry.1304485640=Developer
and the account was granted,
I used the Dropbox API to check whether it has the same configuration similar to Company X which is a team space. However, it isn’t..
Team Space configuration will have this flag is true.
So my question is:
How can we upgrade this account to be Team Space configuration as I couldn’t find a correct document to do so.
Another question is we don’t see this feature “Click here to describe this folder and turn into a space” in any of our dropbox accounts’. Is it available in team space configuration?- Greg-DB4 years agoDropbox Staff
I can only help with questions about the Dropbox API itself. For help accessing other features or configuring your account(s) please reach out to support from the relevant account(s) here.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 19 hours 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!