IRPCSharedLinksPublic.DownloadSharedFile_ReadBlock

View as Markdown

Vault API / standard write no session

Reads one block of a file download started with DownloadSharedFile_Begin.

ServiceShared links (anonymous access) MFiles.IRPCSharedLinksPublic
gRPC method/MFiles.IRPCSharedLinksPublic/DownloadSharedFile_ReadBlock
HTTP (mf-http-grpc)POST /grpc/v1/download-shared-file_-read-block
RequestDownloadSharedFile_ReadBlockRequest
ResponseDownloadSharedFile_ReadBlockResponse
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_ReadBlockRequest

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 that started the download.
download_idint32The download_id from DownloadSharedFile_Begin.
block_sizeuint32The number of bytes to read, at most 4 194 304.
offsetint64The position in the file to read from.

Response: DownloadSharedFile_ReadBlockResponse

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

FieldTypeDescription
databytesThe bytes read.