IRPCWOPIOperationsPublic.WOPIDownloadFile_Begin

View as Markdown

Server integration API / specialized internal: not for applications write no session

Starts downloading the file of a WOPI user session and returns its size and MD5 checksum.

ServiceWOPI operations (anonymous) MFiles.IRPCWOPIOperationsPublic
gRPC method/MFiles.IRPCWOPIOperationsPublic/WOPIDownloadFile_Begin
HTTP (mf-http-grpc)POST /grpc/v1/wopidownload-file_-begin
RequestWOPIDownloadFile_BeginRequest
ResponseWOPIDownloadFile_BeginResponse
Book and levelServer integration API, specialized
Kindwrite
SessionNot needed: the call can be made before logging in.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

For M-Files components only. The M-Files WOPI service calls it when Office for the web reads the file. Applications should not call it.

Request: WOPIDownloadFile_BeginRequest

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

FieldTypeDescription
wopi_user_session_keystringThe WOPI user session token.

Response: WOPIDownloadFile_BeginResponse

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

FieldTypeDescription
download_idint32The download session for WOPIDownloadFile_ReadBlock.
file_sizeint64The size of the file.
low_digestint64The first 8 bytes of the MD5 checksum, as a little-endian integer.
high_digestint64The last 8 bytes of the MD5 checksum, as a little-endian integer.