Curious about A, B, C, and D drives? Learn what they mean and how to use them effectively with Dropbox in this handy guide! - check it out now!
Forum Discussion
terezakloboucek
6 years agoHelpful | Level 5
Parent folders/spaces
Hello everybody,
I am using your API. While setting up the connection to the API, the team environment is always choosen.
When using the method /2/files/search_v2, when I only set up the name which the file should contain without the path, all files from every "parent" folder is gotten. But when I use method 2/files/list_folder I don't see all "parent" folders, only the "subfolders" of the first folder (Tereza Tester) as you can see on the printscreen below.
After looking for a solution I found out, I need to turn the "parent" folders into spaces to have them returned by the 2/files/list_folder method, is that correct?
Also, when I use other methods like 2/files/download and set up the full path of the file, it is unable to get the file. I can only get the file which is in the first folder (Tereza Tester) and the path to the file can only start with the "subfolders". While with the method /2/files/search_v2, when I want to look for a file in a specified folder, the full path has to be set up otherwise it returns nothing (parent_folder/subfolder/file).
May you help me please?
Thank you in advance.
Tereza
4 Replies
Sort By
About Security and Permissions
Start a discussion in the Dropbox Community forum to get help with your account security and permissions. Find support from Community members.
Need more support
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!