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
Omri1984
7 months agoExplorer | Level 4
Old dropbox and new dropbox API
Hi , i know that dropbox made a lot of changes in the last few years. i want to understand something there where a time that i needed to check the account , and check if the account is team in o...
- 7 months ago
Omri1984 The combination of the two features allows an app to distinguish between all three team configurations. Please refer to this post for information on that. The recommendation is use these feature values to programmatically determine how to handle any particular team, as described throughout that post.
Omri1984
Explorer | Level 4
how can i request both of those featured values using the dropbox sdk with c# can share with an example of the code ?
Greg-DB
7 months agoDropbox Staff
Omri1984 Здравко is correct; you can use those feature methods in the .NET SDK to make the feature calls for the team or user, but the team_shared_dropbox and distinct_member_home feature values for users and the has_distinct_member_homes feature values for teams haven't been implemented in .NET SDK yet.
You can determine the same information from the RootInfo object in your screenshot though:
- team_shared_dropbox: this is the same as checking if the RootInfo is a TeamRootInfo.
- distinct_member_home: this is the same as checking if rootNamespaceId
and homeNamespaceId are different.
- Omri19847 months agoExplorer | Level 4
Thank you Здравко and thank you Greg-DB i will give it a try.
In the past i implement changes that decided if it a new team or old by the root info.isteam
So now i have 3 options? New team old team and no team. And according to table i saw in article this is the way i need to decide if to use the team space client or the old client ??- Greg-DB7 months agoDropbox Staff
Omri1984 Yes, there are currently three possible team configurations. The linked resources cover how to detect all of the different feature states so apps can use the features accordingly. Note though that the 'Dropbox-API-Path-Root' header is supported by all three configurations, so you can use that to set the root when calling for any account regardless of the team configuration if you wish to do so. That can make your code a bit simpler.
- Omri19847 months agoExplorer | Level 4
ok i am working on requesting the get values from the api,
just one more thing how do i know when to call the team.getvalues or user.getvalues
for old and new team should i use the team and for personal user i need to use the user ?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,886 PostsLatest Activity: 2 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!