Services/Sync/Developer/StorageFormat: Difference between revisions

Jump to navigation Jump to search
Line 7: Line 7:
All records from the server come back as a JSON string that represent a JS-object with some attributes. The whole object is described by the [[Labs/Weave/API|Sync Server API]], but for a given client storage version, only a subset may be used.
All records from the server come back as a JSON string that represent a JS-object with some attributes. The whole object is described by the [[Labs/Weave/API|Sync Server API]], but for a given client storage version, only a subset may be used.


== Version 2 and 3 ==
== Versions 2, 3, and 4 ==


The following describes the JS-object represented by the JSON-string record:  
The following describes the JS-object represented by the JSON-string record:  
Line 28: Line 28:
| string  
| string  
| String with data; usually a JSON-string
| String with data; usually a JSON-string
! ttl
| integer (optional)
| The number of seconds to keep this record. After that time, this item will not be returned.
|}
|}


canmove, Confirmed users
725

edits

Navigation menu