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
Takashi Homma
10 months 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...
- 10 months 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.
Greg-DB
Dropbox Staff
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.
Takashi Homma
10 months agoExplorer | Level 4
Thank you for the very clear and understandable answer!
It was incredibly helpful. You're perfect!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 9 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!