Optionaldata: IUpdateDocumentRequestOptionalgenerateWhether to generate searchable text (OCR) for image pages added via imageFiles. Default: true.
Does not affect pages generated from file — use pdfOptions.generateText for those.
OptionalimportWhether a provided file is imported as the electronic document (true) or as image pages (false). Default: false.
This flag is only effective when file is provided and its extension is one of: txt, tif, tiff, bmp, pcx, jpg, jpeg, gif, png.
For any other file type (PDF, Word, Excel, etc.), the file is always imported as the electronic document regardless of this flag.
OptionalmetadataThe metadata that will be assigned to the entry. Metadata updates are additive — only the specified fields, tags, and links are touched. Existing values not mentioned in the request are preserved.
OptionalpdfThe options applied when importing a PDF.
Optional_data: anyOptionaldata: anyStaticfromJS
Request body for updating a document's electronic document and/or metadata.