Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I am assigning a custom property value to a file. Is there a way to search by it? I don't see property groups in your search example for:
https://api.dropboxapi.com/2/files/search_v2
How do I make sure that my query only matches a property group value?
For searching by file property value, use /2/file_properties/properties/search instead: https://www.dropbox.com/developers/documentation/http/documentation#file_properties-properties-searc...
For searching by file property value, use /2/file_properties/properties/search instead: https://www.dropbox.com/developers/documentation/http/documentation#file_properties-properties-searc...
@Greg-DB Is there a way to limit search to a particular path of items?
No, that functionality doesn't offer a path filter, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
Ok, I am thinking that to get around it, I would have to create a separate template id for each path and then limit search to that template ID via "template_filter": "id_here". BUT then I might run into "too_many_templates" error. How many is too many? What's that number?
We don't have the specific number documented, but alternatively you can use /2/file_properties/properties/search as-is and filter the results in your code based on the returned PropertiesSearchMatch.path field.
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!