You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

alinayani's avatar
alinayani
New member | Level 2
2 years ago

Dropbbox Api 2 Search V2 Function

I am using the Dropbox API V2 search function (https://api.dropboxapi.com/2/files/search_v2) and its working correctly. I have a small issue that i am unable to find a solution till now. The issue is that when inside the parameters in query field option I am giving a specific value and in the path option I am giving a specific folder path, its searching for the query in child folders of that folder that i have given in path. I want to search only in the folder that I have given in the path field and not to search for child folders and inside child folders of that main folder. Is there any way to restrict searching to main folder given in path (level 0)

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    No, the Dropbox API doesn't offer an option for restricting search results like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 12 months ago
326 Following

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!