Hello,
I would like to watch for changes to all files in a Dropbox account. I have implemented the following:
1) Call /list_folder/get_latest_cursor to get a cursor to a users files. I store this locally.
2) I then call list_folder/continue and get any delta from previous hanges and store the new cursor locally. This then repeats periodically.
This appears to be working for files that a user adds to their account. However it doesn't return when a file is shared or unshared by another user.
I then tried list_received_files and list_received_files_continue. This however does not appear to work the same way as list_folder, as it doesn't return a cusor when no more results are present, so I can't keep polling for a delta. I have to retrieve all received files everytime. Is this correct or am I doing something wrong?
My usecase is that I want to watch for changes to any files, shared folders, or recieved files for a Dropbox user. What is the easiest way to do this?
Thanks for the help.