Update Files
Update existing files in the system.
This endpoint supports multipart/form-data requests, enabling you to update files and their associated metadatas into R2R.
A valid user authentication token is required to access this endpoint, as regular users can only update their own files. More expansive collection permissioning is under development.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The list of paths of input files to update in the system.
An optional list of document ids for each file. If not provided, the system will generate a unique document id via the generate_document_id
method.
An optional list of JSON metadata to affix to each file
An optional dictionary to override the default chunking configuration for the ingestion process. If not provided, the system will use the default server-side chunking configuration.
Response
Was this page helpful?