js-bao-wss-client / DocumentIngestChunkUploadResult
Interface: DocumentIngestChunkUploadResult
What the server answers a chunk upload with.
Not the session: a chunk lands against a reservation, and the reply is about that chunk alone — how many stored bytes were accepted, and where the chunk sits among the ones this session has stored. Poll DocumentIngestsAPI.get for the session.
Properties
bytes
bytes:
number
The stored byte length the server measured and accepted.
ok
ok:
boolean
ordinal
ordinal:
number
The chunk's position among the session's stored chunks.