Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
I have a business customer whose backend is still "Team Folders" and not "Team Spaces"... My integration doesn't work for him, and I can't really test it properly because I can't create a "Team Folders" business account... Already created business trials twice - and looks like "Team Spaces" is currently default account type.
I'm referring to: https://developers.dropbox.com/dbx-team-files-guide
The part that doesn't work right for him is basically listing all his team folders (root only - without subfolders). I was using /namespaces/list - but this resulted with huge number of records, including subfolders... What I come up with is:
1. For Team Spaces - using /files/list_folder, with:
- Dropbox-API-Select-User - pointing to admin user team_member_id
- Dropbox-API-Path-Root - pointing to namespace_id - where namespace_id is the root namespace of the team
I tested this part - and looks like it's good
2. For Team Folders - using /team/team_folder/list
I can't test this part - since my test account is in team spaces - this endpoint always return 1 record
Question 1) Can I create an older "Team Folders" account - or request downgrade from existing "Team Spaces" account? I would realy like to test integrations before providing to customer.
Question 2) Is my API calls proper for what I'm trying to achieve, or should I look for alternate solution?
Thanks
1) Yes, follow the instructions under "How do I test my application?" on https://www.dropbox.com/developers/support to request a test team for testing the Dropbox Business API. That should give you a non-team-space team by default.
2) Yes, to list the team folders for a non-team-space team, you would use /2/team/team_folder/list and /2/team/team_folder/list/continue. (The result from /2/team/namespaces/list and /2/team/namespaces/list/continue would include team folders as well.) In any case though, to list all of the contents under a particular path (team space or not), you would still use /2/files/list_folder and /2/files/list_folder/continue.
Hi there!
If you need more help you can view your support options (expected response time for a 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!