I'm using dropbox api to search files in a connected account. I need to implement feature to sort search result by selected criteria. For example, I need sort files by last modifying time or by title (in alphabetical order). In dropbox documentation I found that I can filter result by date. But It's unclear to me if I can filter results by title.
There is an option called "other". I could not find any information about what does the "other" option mean.
Here is the link for dropbox api I found: https://dropbox.github.io/dropbox-sdk-js/global.html#FilesSearchOrderBy
So here are my questions.
- What does "other" option mean?
- Can I sort files by last modified time using ASC and DESC ordering?
I'm using dropbox 5.2.1 so far.
The
othertag indicates that theFilesSearchOrderByobject is an "open union", meaning more values may be added in the future. Theotheroption doesn't indicate any more actual functional that can currently be accessed.So, the only actual options are currently
relevanceandlast_modified_time. This doesn't offer ascending/descending options. If you want to order by modified time, you should uselast_modified_time, and reverse the results if they're not in the direction you want.