IRPCSharedLinksPublic.UploadSharedFile

View as Markdown

Vault API / standard write no session

Uploads a block of new content for a file opened for editing in Office for the web. Used by M-Files clients; applications rarely call it.

ServiceShared links (anonymous access) MFiles.IRPCSharedLinksPublic
gRPC method/MFiles.IRPCSharedLinksPublic/UploadSharedFile
HTTP (mf-http-grpc)POST /grpc/v1/upload-shared-file
RequestUploadSharedFileRequest
ResponseUploadSharedFileResponse
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: UploadSharedFileRequest

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

FieldTypeDescription
guid_vaultstringThe vault GUID.
access_keystringThe access key of the editing link.
upload_idint320 for the first block; then the upload_id that the first call returned.
additional_data[]repeated NamedValueOptional named values. Can be empty.
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.
total_size_in_bytesint64The total size of the file. Read only with the first block (offset 0).
offsetint64The position of this block in the file. Use multiples of 4096 bytes.
databytesThe bytes of this block.

Response: UploadSharedFileResponse

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

FieldTypeDescription
upload_idint32The upload ID to use for the following blocks and the commit.