Reputation: 771
I'm developping an Android App and I'm using Dropbox Core Api for that purpose. I'm not using Sync Api since I'm interested in having full access permission to my Dropbox account and I've read that's not possible using Sync Api.
So, using Dropbox Core Api, is there any way to know if a file has been modified in order to update it?
Thanks in advance
Upvotes: 0
Views: 956
Reputation: 60153
You can check for an updated rev
field via a call to /metadata
or use /delta
to poll for changes. (Optionally, you can use /longpoll_delta
to get notified when changes happen.) See details of what the Core API offers here: https://www.dropbox.com/developers/core/docs.
On Android, these calls are:
longpoll_delta
isn't included in the SDK, so you'd need to call it directly via HTTP if you want to use it.
Upvotes: 2