Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
In version v2 , only prefix based search is working. I have a file DISADVANTAGE.JPEG in my account. In version V1, on searching substring "dis" or "adv" , Search result contained this file.
However in version V2, searching the substring "adv" doesnt show this file . ( searching substring "dis" , displays this file.)
This is the expected behavior, per the API v2 /search documentation:
"query String The string to search for. The search string is split on spaces into multiple tokens. For file name searching, the last token is used for prefix matching (i.e. "bat c" matches "bat cave" but not "batman car")."
Since you're only supplying one token, that is the last token, which is used for prefix matching. We'll consider this a feature request for a way to do this the old way instead.
Thank you for the quick reply.
Is there any mechanism for us to know once this feature request is implemeneted.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!