Records belong to a collection. It is the data being stored and synchronised.
A record is a mapping with the following attributes:
data
: attributes of the record objectid
: the record object idlast_modified
: the timestamp of the last modification
permissions
: theACLs <ACL>
for the collection object
Example Response
http
HTTP/1.1 201 Created Access-Control-Expose-Headers: Backoff, Retry-After, Alert Content-Length: 199 Content-Type: application/json; charset=UTF-8 Date: Thu, 18 Jun 2015 17:02:23 GMT Server: waitress
- {
- "data": {
"foo": "bar", "id": "89881454-e4e9-4ef0-99a9-404d95900352", "last_modified": 1434646943915
}, "permissions": { "write": [ "basicauth:206691a25679e4e1135f16aa77ebcf211c767393c4306cfffe6cc228ac0886b6" ] }
}