Will the new v2 API offer support for events/delta? When is that scheduled for release to the preview?
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
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?
That's correct, except that you would just use empty string as the path, instead of "/", for root.
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?
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.