Dropbox

Search Files Using the Dropbox API

Oct 15, 2020Yi Jiang
Search Files Using the Dropbox API
SummaryAI, from the source post

This post details the technical enhancements of the new [/files/search_v2](https://www.dropbox.com/developers/documentation/http/documentation#files-search) endpoint compared to the previous v1 version. Key improvements include a >20% performance gain, enhanced reliability, expanded support for file types (Paper, G Suite/O365 online-only, unmounted files), and new filtering options such as `file_extensions` and `file_categories`. It also introduces `order_by: last_modified_time` for result sorting and an improved pagination scheme using `/files/search/continue_v2`. The `include_highlights` boolean is introduced to return highlighted spans in search results, mirroring UI behavior. Code samples demonstrate the usage of these new features.