POST
/
documents
/
{document_id}
/
update_file
{
  "external_id": "<string>",
  "owner": {},
  "content_type": "<string>",
  "filename": "<string>",
  "metadata": {},
  "storage_info": {},
  "storage_files": [
    {
      "bucket": "<string>",
      "key": "<string>",
      "version": 1,
      "filename": "<string>",
      "content_type": "<string>",
      "timestamp": "2023-11-07T05:31:56Z"
    }
  ],
  "system_metadata": {},
  "additional_metadata": {},
  "access_control": {},
  "chunk_ids": [
    "<string>"
  ]
}

Headers

authorization
string

Path Parameters

document_id
string
required

Body

multipart/form-data

Response

200
application/json

Successful Response

Represents a document stored in the database documents collection