Service/Sync/FxSync/Developer/BrowserObjects: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Initial document description/structure)
 
(blank page since content on docs.services.m.c)
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Once an encrypted Weave Basic Object's payload is decrypted using [[Labs/Weave/Crypto|Weave Crypto]], the result is a cleartext JSON string. Each collection can have its own object structure to store data that it needs to reconstruct the item on the client.
{{Warning| This page is now located at http://docs.services.mozilla.com/sync/fxclient/storage.html}}
 
This document describes the current format of the objects for each collection. Typically, one record corresponds to one item, e.g., a bookmark, and the object formats have a fixed list of keys for simple key/value string pairs.
 
The following sections, named by the corresponding collection name, describes the various object formats and how they're used. Note that object structures may change in the future and may not be backwards compatible.
 
== bookmarks ==
 
One bookmark record exists for each "bookmark item," where an item may actually be a folder or a separator. Each item will have a <tt>type</tt> that determines what other fields are available in the object. The following sections describe the object format for a given <tt>type</tt>.
 
=== item ===
 
=== bookmark ===
 
=== microsummary ===
 
=== query ===
 
=== folder ===
 
=== livemark ===
 
=== separator ===
 
== forms ==
 
== history ==
 
== passwords ==
 
== prefs ==
 
== tabs ==

Latest revision as of 17:40, 16 August 2011