Update: The Sync and Datastore SDK has been deprecated. Learn more here.
Today we’re happy to announce new features in the Datastore API. This is our biggest update since datastores launched last year!
The Datastore API includes three new features: shared datastores, local datastores and datastore webhooks.
One of the most requested features for the Datastore API is the ability to share data between users. Now your app can share datastores with other Dropbox users by setting permissions and sending the datastore ID, usually by URL. Any Dropbox account with the correct permissions will then be able to access the shared datastore. You can find out more in the Datastore API documentation and tutorial.
Local datastores, which has been in preview since Datastore SDK 3.0, is now ready for production use. This feature lets your app use datastores without requiring a user to log in with Dropbox first. Data is stored locally until the user logs in with their Dropbox account, at which point everything is migrated to the cloud and synced cross-device. Find out more in the Datastore API documentation.
In addition to our existing file webhooks, we’ve now added datastore webhooks. With datastore webhooks your web app will be notified right away when your users’ datastores change. Simply register a webhook URI via the App Console and every time a user’s datastores change, the webhook URI you specified will be sent a request telling it about the changes. You can find out more in the webhooks documentation.
- New! Lists sample app — A sample mobile and web app with datastore sharing and local datastores.
- Dropbox webhooks for datastores — Get notified of changes to your users’ datastores.
- Listary – All your lists — A beautiful iOS app with shared datastores and local datastores.