Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I am using dropbox business account and API v2.0. I have team folder with many subfolders and files in it. When I call the api /team_folder/list I get the name of the team folder. But how do I get list the contents (both files and folders) of a teamfolder? I couldnt find any related api calls in the team section in the documentation - https://www.dropbox.com/developers/documentation/http/teams#team-team_folder-list.
Please advice.
Also, please let me know if there is any PHP sdk available for Business API. Currently I am using HTTP api requests.
Thanks.
-
-
-
-
Did this post help you? If so please mark it for some Kudos below.
Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.
Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible!
According to this article: https://www.dropbox.com/help/business/team-folders
I believe that there're two kinds of Dropbox Business Account:
The /2/files/list_folder lists all the files include team folders of A.
But the /2/files/list_folder lists only the files in the purple folder (private folder) of B.
Is there any way to list team folders and their contents of B's Team Space?
Thank you!
@hsin Yes, that's correct. For the newer type B, please refer to the namespace guide, which covers how to access the team space:
https://www.dropbox.com/developers/reference/namespace-guide
For files/list_folders, can you use the team_folder_id in place of the path?
Thanks
@msullybos Yes, the /2/files/list_folder endpoint supports namespace ID paths in the 'path' parameter, so you can use the team_folder_id for a team folder as the 'path' value, like "ns:123456789", where 123456789 is the team_folder_id. (For information on how to interact with a team space though, refer to the Team Files Guide.)
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 Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!