We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
mikechiu
2 years agoExplorer | Level 4
Team Space vs Updated Team Space
Hi, according to this post , all kind of accounts will be migrated to "Updated Team Space" by 2024/01/31. I have a few questions about the migration and APIs behaviour changed. 1) As my observat...
- 2 years ago
1) The API response is correct. In a non-updated team space configuration, as far as how the API works, the folders in the team space are technically shared folders not team folders.
2) No, unfortunately the API doesn't offer a way to filter out the member folders, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
Greg-DB
Dropbox Community Moderator
2 years ago1) Any given team may or may not actually have additional folders created at any particular location at any given time, so I do not recommend making assumptions about the existence of items. Apps should use the API to check to see if particular items exist or not.
2) Thanks for the note. Attempting to use the log may be more difficult and less efficient though, so the recommendation is to use the feature endpoints to check whenever needed.
3) I see your request was received and should be processed soon.
mikechiu
2 years agoExplorer | Level 4
Hi Greg-DB , thanks for your reply, will test with the account, thanks!
- mikechiu2 years agoExplorer | Level 4
Hi Greg-DB ,
Thanks for all your help, the account works now.
I found some questions after testing on the Team Space account.
1) I created a team folder via Admin Console -> Content called Team Folder 1, and the type is Team Folder on WebUI.
However, the response from namespaces API shows that, this Team Folder 1 is a Shared Folder.
❯ curl -s -XPOST -H "Authorization: Bearer $dt" 'https://api.dropboxapi.com/2/team/namespaces/list' | jq . { "namespaces": [ { "name": "Netskope's shared workspace", "namespace_id": "2463823379", "namespace_type": { ".tag": "team_folder" } }, { "name": "Team Folder1", "namespace_id": "2487991075", "namespace_type": { ".tag": "shared_folder" } },
So which type should I take for this folder? I suppose this should be like a pure shared folder as the team folder get info API response shows id_not_found in response.
{ ".tag": "id_not_found", "id_not_found": "2487991075" }
2) Is it possible to get all file / folders under the root team folder workspace without member root folders?
Asking because we need to know the path in list_folder response, so we will set the Dropbox-API-Select-User to traverse from each user's member folder. Thus I was wondering if there's any way to filter out those member folders against list_folder API?
Looking forward to your response, thanks!
- Greg-DB2 years ago
Dropbox Community Moderator
1) The API response is correct. In a non-updated team space configuration, as far as how the API works, the folders in the team space are technically shared folders not team folders.
2) No, unfortunately the API doesn't offer a way to filter out the member folders, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 2 days ago
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 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!