cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Business - Team Folders account (not team spaces)

Business - Team Folders account (not team spaces)

wojwal_y
Explorer | Level 3

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 Reply 1

Greg-DB
Dropbox Staff

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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?