Files

Close a large file’s upload

Stitches the parts into the object, once every part has landed and the folded chain of their hashes ends where the declared sha256 said it would. A chain that ends anywhere else aborts the upload and marks it failed: the bytes that arrived are not the clip that was declared.

post/api/v1/documents/{id}/content/complete

Request

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

Path parameters

idstring required

Document id, for example doc_014.

Request body

Response

The clip is stored and can be downloaded.

okunknown required

Changes

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