Tearleads

DocumentPullQueryItem

One read-only paginated document pull inside a batched document-pull query.

Shape

object

11 fields
  • contentKeyEpochintegerrequired
    • greater than 0

    Expected document content-key epoch.

  • documentIdstringrequired
    • not empty

    Document id to pull.

  • expectedLinkSetManifestHashstringrequired
    • not empty
  • expectedTargetHashstringrequired
    • not empty

    Expected document KEK target hash.

  • historyModestringoptional
    • always raw

    Optional raw-history recovery mode.

  • localVersionVectorstringrequirednullable
    • at most 16,777,216 characters

    Encoded client Loro version vector, or null for a full pull.

  • maxPageUpdatesintegeroptional
    • 1 to 64

    Maximum updates to return in this pull page.

  • minLsnstringoptional
    • pattern ^[0-9A-Fa-f]{1,8}\/[0-9A-Fa-f]{1,8}$

    Minimum PostgreSQL commit LSN the replica must have reached.

  • processedThroughUpdateIdstringoptional
    • lowercase UUID v4

    Optional processed update cursor recorded under localVersionVector.

  • pullCursorstringoptional
    • 1 to 512 characters

    Optional continuation cursor from the preceding pull page.

  • supportsPullPaginationbooleanrequired
    • always true

    Confirms the caller supports paginated pulls.

Used by

Schemas