IRPCScanningAndOCR.GetScanningAndOCROptions

View as Markdown

Vault API / standard read session idempotent returns metadata structure version

Gets whether scanning and client- and server-side OCR are enabled for the vault, and for which file types.

ServiceScanning and OCR MFiles.IRPCScanningAndOCR
gRPC method/MFiles.IRPCScanningAndOCR/GetScanningAndOCROptions
HTTP (mf-http-grpc)POST /grpc/v1/get-scanning-and-ocroptions
RequestGetScanningAndOCROptionsRequest
ResponseGetScanningAndOCROptionsResponse
Book and levelVault API, standard
Kindread
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

Request: GetScanningAndOCROptionsRequest

No fields.

Response: GetScanningAndOCROptionsResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
putf8szscanocropsScanningAndOCROptionsThe scanning and OCR options of the vault. See ScanningAndOCROptions.
putf8szscanocrops.allow_scanning_from_clientsboolTrue if the whole client-side scanning feature is on.
putf8szscanocrops.allow_client_ocrboolTrue if the OCR feature is on for the client-side.
putf8szscanocrops.allow_server_ocrboolTrue if the OCR feature is on for the server-side.
putf8szscanocrops.allowed_file_extensions[]repeated stringAn array of file extensions (not including dot) for which scanning and OCR generation is allowed.
putf8szscanocrops.ocr_setup_error_codeuint32OCR setup error code.
putf8szscanocrops.ocr_optionsOCROptionsDefault options for OCR.
putf8szscanocrops.ocr_options.languages[]repeated OCRLanguageTypeLanguages/character sets/dictionaries to be used as recognition hints. Can be unset.
putf8szscanocrops.ocr_options.ocr_automatic_language_detectionboolTrue if the OCR automatic language detection is to be used.