We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Jon B.1
3 years agoCollaborator | Level 9
SearchV2 cursor update
Just a quick question about the /search and /search/continue endpoints...
I want to search for all files with a particular extension, and get notified of any updates. Do the cursors returned by /search and /search/continue behave the same as the /list_folder/continue cursors, in that they will continue to return new additions which satisfy the search? And do those updates include DeletedMetadata on previous search results which have since been deleted?
No, the cursors returned by the search endpoints are meant for pagination and do not promise to track changes over time. Also, the search endpoints require some query, so they don't support just searching for all files of a particular file type anyway, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
That being the case, it sounds like for your use case you should use the /2/files/list_folder[/continue] functionality to list/track entries and filter the results as desired client-side.
- Jon B.1Collaborator | Level 9
Footnote: for the record, I mean search V2, not V1!
- Greg-DBDropbox Staff
No, the cursors returned by the search endpoints are meant for pagination and do not promise to track changes over time. Also, the search endpoints require some query, so they don't support just searching for all files of a particular file type anyway, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
That being the case, it sounds like for your use case you should use the /2/files/list_folder[/continue] functionality to list/track entries and filter the results as desired client-side.
- Jon B.1Collaborator | Level 9
So do a complete recursive directory listing at the same time as the initial find, and then just track the updates and filter them for files which match... yeah, that's doable! Thanks.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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 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!