cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right 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: 

Re: search (/2/files/search_v2) using multiple paths/regex

search (/2/files/search_v2) using multiple paths/regex

yatin_manchanda
Explorer | Level 4

Hi, I want to search within multiple folder/subfolders, I tried passing regex/ multiple paths but i got an error for invalid path. Is this possible anyway?

 

For example I want to search within these 2 paths

 

/folder1/subfolder1

/folder2/subfolder2

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff

The Dropbox API does not offer the ability to search in multiple paths in a single call, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Instead, you should issue one call per path.

 

(Alternatively, you can omit the 'path' entirely, in which case the search will operate on the root and subfolders; you could then filter the results as desired.)

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff

The Dropbox API does not offer the ability to search in multiple paths in a single call, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Instead, you should issue one call per path.

 

(Alternatively, you can omit the 'path' entirely, in which case the search will operate on the root and subfolders; you could then filter the results as desired.)

Need more support?