Skip to main content

Append one checksummed bounded export-file chunk

PATCH 

/api/v1/paperless-imports/:import_id/files/:ordinal

Requires migration.manage and an exact same-origin proof for cookie requests. The supplied offset must equal durable state and every bounded chunk must carry a matching SHA-256 checksum; failure rolls the file back and success advances the offset only after durable sync.

Request​

Responses​

Chunk is durable and Upload-Offset advanced

Response Headers
    Upload-Length

    Declared file length

    Upload-Offset

    Next durable byte offset

    X-Request-Id

    Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.