Data store
Inffuse offers cloud based key-value data store. The value can be of any type, including arrays and objects, so it is possible to store complex data structures (as long as they're serializable). The data is currently associated with a project, but in the future you will also be able to store data on the user, site or app level.Private and public scopes
Inffuse offers two data scopes - private and public. The private scope can be used for storing any private data of the user, while the public scope can be used to store data that should be publicly accessible. For instance, if you’re building a contact form plugin, the fields' list and types is public data, while the list of previous submissions, or the email of the app owner are private.
The data in the private scope can only be accessed and modified by providing an access token (associated with app user), or using the developer secret key. Data in the public scope can be accessed anonymously, but you will need to grant specific permissions for public data modification. For example, you can grant a “submissions” field a public permission to append items to the list, but not to delete or to overwrite the values.
Private data can be published via a single API call, according to the data permissions rules. For instance, while by default publishing the data will copy data from the private scope to the public scope, a data item that has a "WRITE" permission will not be affected, and the public copy of this data item will not be overwritten by the private one.