Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
yatin_manchanda
2 years agoExplorer | Level 4
search (/2/files/search_v2) using multiple paths/regex
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
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.)
1 Reply
Replies have been turned off for this discussion
- Greg-DB2 years ago
Dropbox Community Moderator
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.)
About 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!