Forum Discussion

wojwal_y's avatar
wojwal_y
Explorer | Level 3
3 years ago

Business - Team Folders account (not team spaces)

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