Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

alinayani's avatar
alinayani
New member | Level 2
3 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)

 

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    3 years ago

    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.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!