See Synchronization for more information.
Type Definitions
DeletedAsset #
Deleted Assets are the same as Assets, but only appear on the sync API.
- Type:
- Entities.Asset
- Source:
DeletedEntry #
Deleted Entries are the same as Entries, but only appear on the sync API.
- Type:
- Entities.Entry
- Source:
SyncCollection #
Properties:
Name | Type | Description |
---|---|---|
entries |
Array.<Entities.Entry> | All existing entries on first sync. New and updated entries on subsequent syncs. |
assets |
Array.<Entities.Asset> | All existing assets on first sync. New and updated assets on subsequent syncs. |
deletedEntries |
Array.<Sync.DeletedEntry> | List of deleted Entries since last sync |
deletedAssets |
Array.<Sync.DeletedAsset> | List of deleted Assets since last sync |
nextSyncToken |
string | Token to be sent to the next sync call |
toPlainObject() |
function | Returns this Sync collection as a plain JS object |
stringifySafe(replacer,space) |
function | Stringifies the Sync collection, accounting for circular references. Circular references will be replaced with just a Link object, with a circular property set to true . See MDN and json-stringify-safe for more details on the arguments this method can take. |
- Source: