cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you new to Dropbox? Our Newcomers group is the perfect place to learn the basics, find out more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Search the file in folder

Search the file in folder

Goldmine
Explorer | Level 3

The basic search of  file in all folders work fine but I want to search a file in particular folder not whole dropbox. how to implement this.

4 Replies 4

Jay
Dropbox Staff

Hi @Goldmine, thanks for bringing this to our attention.

 

You can navigate to a folder on the site, and then when you search, it will be limited to that folder.

 

If you have any further queries, feel free to message back.


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

Goldmine
Explorer | Level 3

for implementation using /files/search_v2

api and pass query and option path parameter for search but its not work for folder wise search. how to resolve this.

Jay
Dropbox Staff

Thanks for the info, for any API queries, It needs to be in the appropriate forum, so I'll move this post there.


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

Greg-DB
Dropbox Staff

@Goldmine Using the options.path parameter on /2/files/search_v2 is the right way to restrict the search to a particular folder. (By the way, the API v2 Explorer can be useful for trying out calls like this.) I just tried that and it is working for me. If that doesn't appear to be working for you, please share the code and parameters you're using, along with the unexpected output, so we can look into it for you. Be sure to redact the access token though. If you'd prefer to share privately, you can open an API ticket here.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Jay Dropbox Staff
  • User avatar
    Goldmine Explorer | Level 3
What do Dropbox user levels mean?