Skip to content
Sursa Developers

Objects

PushDocumentBatch

Fields

  • sync_numberinteger

    Number of the open sync. Without it, the documents are written as a direct upsert.

  • documentsarray of PushDocument

    items ≤ 500

  • deletesarray of string

    external_id of documents to delete (since 1.62.0). Inside a sync, the deletion appears in the sync's document results. An external_id cannot be both in documents and in deletes.

    items ≤ 1000

  • atomicboolean

    All or nothing (since 1.62.0): if any document is rejected, the response is 422 sources.push_batch_rejected and nothing is written.

    Default: false

Used by