Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Takashi Homma
1 year agoExplorer | Level 4
how to check team space support for user-linked apps
I've read the document and have questions about supporting team spaces, specifically for user-linked apps. https://dropbox.tech/developers/api-updates-to-better-support-team-spaces 1. For user-l...
- 1 year ago
1. With a user-linked app, to determine if an account has a team space, you can use the 'distinct_member_home' feature on the /2/users/features/get_values endpoint. (The 'root_info.root_namespace_id' value from /2/users/get_current_account alone does not indicate the existence of a team space, as every account has some root namespace ID.)
2. That's correct, the 'team_shared_dropbox' feature values only indicate if the account is on a team with a shared team space in particular, so it cannot be used to detect if the account is on a team with a team space of any type.
If you have a user-linked app and want to check if the account has a team space (shared or not), use the above mentioned 'distinct_member_home' feature on the /2/users/features/get_values endpoint.
SJ_Code
1 year agoExplorer | Level 3
Hi Greg,
I don't see "distinct_member_home" class that is derived from the feature class in the .net dropbox api. I am using Dropbox.api 7.0.
The below screenshot is from the documentation
Greg-DB
Dropbox Community Moderator
1 year agoSJ_Code 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 the FullAccount returned by GetCurrentAccountAsync 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.
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!