DocumentSyncRequest
A document sync: uploads encrypted updates and asks for the ones the client is missing, one page at a time.
Shape
object
13 fields
Container paths that authorize a write; reads may omit them.
containerRekeyslist of objectoptional- at most 16 items
Container rekeys to commit first in the same transaction.
16 fields
bodyany JSON valuerequired- at most 4,096 items
- at most 100 items
eventobject with any fieldsrequiredexpectedManifestHashstringrequired- not empty
keyEpochobject with any fieldsrequiredkeyringobject with any fieldsrequirednullablemanifestobject with any fieldsrequired- at most 100 items
parentKekRefobjectoptionalnullable3 fields
containerIdstringrequired- not empty
containerKeyEpochIdstringrequired- not empty
keyEpochHashstringrequired- exactly 64 characters
- lowercase hexadecimal
Other fields are allowed.
predecessorBridgeobject with any fieldsrequirednullable- at most 100 items
userRecipientKeyslist of object with any fieldsoptionalwrapslist of object with any fieldsrequired
Other fields are allowed.
A new content-key bundle, when the write advances the content-key epoch.
contentKeyEpochintegerrequired- greater than 0
Content-key epoch the client is writing and reading at.
expectedLinkSetManifestHashstringrequired- not empty
The document link-set manifest head the client planned against; a different current head is refused as stale.
expectedTargetHashstringrequired- not empty
The key target hash the client planned against.
historyModestringoptional- always
raw
rawasks for every retained update missing from the frontier, bypassing rotation baselines; read-only.- always
inlineRekeyCommitIdstringoptional- exactly 64 characters
- lowercase hexadecimal
Marker that makes carried rekeys and the write replay-safe as one transaction; present exactly when
containerRekeysis non-empty.localVersionVectorstringrequirednullable- at most 16,777,216 characters
The client's current version vector; the response returns updates it does not cover.
minLsnstringoptional- pattern
^[0-9A-Fa-f]{1,8}\/[0-9A-Fa-f]{1,8}$
Commit LSN the server must have reached before answering, for read-after-write consistency.
- pattern
outgoingUpdateslist of objectrequired- at most 64 items
Encrypted updates to upload.
9 fields
checkpointKindstringoptional- always
rotate_baseline
- always
checkpointPayloadKindstringoptional- always
full_history_snapshot
- always
encryptedDatastringrequired- 1 to 16,777,216 characters
idstringrequired- lowercase UUID v4
partialEndVersionVectorstringrequired- 1 to 16,777,216 characters
partialStartVersionVectorstringrequired- 1 to 16,777,216 characters
plaintextHashstringrequired- not empty
sourceVersionVectorstringoptional- 1 to 16,777,216 characters
writeHeaderobject with any fieldsrequired
Other fields are allowed.
pullCursorstringoptional- 1 to 512 characters
Continuation cursor from the previous page; a continuation is read-only.
supportsPullPaginationbooleanrequired- always
true
Always true; every response is paged.
- always
Other fields are allowed.