Files

Send one part of a large file

The raw bytes of one part, in order: part n is taken only once parts 1 through n-1 have landed. Every part but the last is exactly the partBytes the start call named. The account hashes each part and folds it into a running chain; complete refuses a chain that does not end where the declared sha256 said it would.

put/api/v1/documents/{id}/content/parts/{part}

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/documents/{id}/content/parts/{part}
  • Auth: API key in cookie better-auth.session_token

Path parameters

idstring required

Document id, for example doc_014.

partinteger required

Which part this is, 1-based, in order.

Response

The part is held. Keep the etag for complete.

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.