Updates a document. This endpoint is atomic.
Currently both metadata
and index_status
are supported.
metadata
, the document must have index_status
of indexed
. After this call, the document will have an index_status
of not_indexed
, since the document will need to reindex with the new metadata.index_status
, setting it to not_parsed or
not_indexedrequires that the document must have
index_statusof
parsing_failedor
indexing_failed`, respectively.A 404 Not Found
status code will be returned, if the provided collection name or document path does not exist.
Successful Response
The response is of type object
.