IRPCSharedLinksPublic.DownloadSharedFile_Begin

View as Markdown

Vault API / standard write no session

Starts downloading the file of a shared link, without logging in, and returns a download ID, the file size and its MD5 checksum.

ServiceShared links (anonymous access) MFiles.IRPCSharedLinksPublic
gRPC method/MFiles.IRPCSharedLinksPublic/DownloadSharedFile_Begin
HTTP (mf-http-grpc)POST /grpc/v1/download-shared-file_-begin
RequestDownloadSharedFile_BeginRequest
ResponseDownloadSharedFile_BeginResponse
Book and levelVault API, standard
Kindwrite
SessionNot needed: the call can be made before logging in.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: DownloadSharedFile_BeginRequest

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

FieldTypeDescription
vaultstringThe vault GUID.
access_keystringThe access key of the shared link.
additional_data[]repeated NamedValueOptional named values; see GetSharedLinkInfo.
additional_data[].keystringThe name of the value.
additional_data[].valueTypedValueThe value as a serialized bytearray.
additional_data[].value.is_null_valueboolTrue if the value is empty. data is then unset.
additional_data[].value.typeDatatypeThe data type of the value.
additional_data[].value.dataTypedValueUnionThe value, in the member that matches type. Unset for an empty value.

Response: DownloadSharedFile_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 ID for DownloadSharedFile_ReadBlock.
file_sizeint64The size of the file in bytes.
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.