DocumentSyncResponse
The result of a sync: which uploads were accepted, one page of missing updates, and the key material to decrypt them.
Shape
object
9 fields
acceptedOutgoingUpdateIdslist of stringrequired- at most 64 items
Ids of uploaded updates that are now committed.
commitLsnstringrequirednullableCommit LSN after the request; pass it as
minLsnto read your own writes from a replica.commitLsnModestringrequired- one of
tracked,untracked
trackedfor a durable backend position;untrackedwith the0/0sentinel when the backend cannot report one.- one of
Content-key bundle of the current epoch.
Bundles of older epochs that this page's updates were written at; never the current epoch.
documentIdstringrequiredThe document's current key targets.
- at most 64 items
Encrypted updates the client's version vector does not cover.
Other fields are allowed.