IRPCObjectOperations.DownloadFileWithDownloadKey

View as Markdown

Vault API / core write session or assertion

Not available over native gRPC: the server answers "Not implemented.". Used by the M-Files HTTP gateway.

ServiceObjects, versions, properties and files MFiles.IRPCObjectOperations
gRPC method/MFiles.IRPCObjectOperations/DownloadFileWithDownloadKey
HTTP (mf-http-grpc)POST /grpc/v1/download-file-with-download-key
RequestDownloadFileWithDownloadKeyRequest
ResponseDownloadFileWithDownloadKeyResponse
Book and levelVault API, core
Kindwrite
SessionRequired: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata).
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Request: DownloadFileWithDownloadKeyRequest

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

FieldTypeDescription
download_keyStringValueContains identifier that will be used to locate the file.
download_key.valuestringString.
formatFileFormatSpecifies the file format to download.Values: FILE_FORMAT_NATIVE (0), FILE_FORMAT_PDF (1), FILE_FORMAT_DISPLAY_ONLY_PDF (2), FILE_FORMAT_PLAIN_TEXT (3), FILE_FORMAT_MARKDOWN (4).
content_disposition_inlineboolTrue if the content is expected to be displayed inline in the browser.
need_checksumboolTrue if the caller wants to receive the checksum of the file. Will be returned in the response headers.

Response: DownloadFileWithDownloadKeyResponse

No fields.