We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
vinodc
10 years agoExplorer | Level 3
Will the v2 API support delta/events?
Will the new v2 API offer support for events/delta? When is that scheduled for release to the preview?
- Greg-DBDropbox Staff
The /delta functionality from the Core API already exists in API v2 under the /list_folder endpoints. Specifically:
- /delta -> /list_folder & /list_folder/continue
- /delta/latest_cursor -> /list_folder/get_latest_cursor
- /longpoll_delta -> /list_folder/longpoll
- vinodcExplorer | Level 3
Thanks for the quick response Gregory. I missed that list_folder functionality. To clarify, if I wanted a cursor that would provide with me with updates on all changes to any file in the dropbox account, should I perform a /list_folder request with path "/" and recursive set to true?
- Greg-DBDropbox Staff
That's correct, except that you would just use empty string as the path, instead of "/", for root.
- vinodcExplorer | Level 3
Thanks. Two more questions:
1) I noticed v2 supports file IDs now (!), and we'd like to use that to resolve "delete" and "add" events returned via /list_folder to "renames/moves" by matching the IDs. Is this a feasible approach, or are IDs subject to change as files are renamed/moved?
I notice DeletedMetadata does not contain the ID. If a file is moved, is it guaranteed that the file's ID will stay the same?2) Did you have any rough estimate on when the initial production release for v2 is scheduled?
- Greg-DBDropbox Staff
1) We're very excited to finally have this functionality, but we don't have any documentation for it specifically yet. Stay tuned.
2) No ETA to share yet.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 years 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!