In https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wildcard-search/m-p/432784 I found that we can't do a global wildcard search to find files with multiple extensions.
But I think there's a workaround for some cases as it seems that Dropbox matches the query string against the start of the file extension.
If I want to find Word documents with file extensions doc, docx, docm, dot (-> all starting with "do*") this request to https://api.dropboxapi.com/2/files/search_v2 seems to work
{
"query": "do",
"options": {
"file_extensions": ["doc", "docx", "doxm", "dot"],
"path": "/path_to_search",
"filename_only": true
}
}
Can anyone confirm that this will return the desired results reliably?