IRPCSharedLinksPublic.GetWOPIFileInfo

View as Markdown

Vault API / standard write no session

Gets information about the file of a link for Office for the web (WOPI) operations. Used by M-Files clients; applications rarely call it.

ServiceShared links (anonymous access) MFiles.IRPCSharedLinksPublic
gRPC method/MFiles.IRPCSharedLinksPublic/GetWOPIFileInfo
HTTP (mf-http-grpc)POST /grpc/v1/get-wopifile-info
RequestGetWOPIFileInfoRequest
ResponseGetWOPIFileInfoResponse
Book and levelVault API, standard
Kindwrite
SessionNot needed: the call can be made before logging in.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Request: GetWOPIFileInfoRequest

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 link.

Response: GetWOPIFileInfoResponse

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

FieldTypeDescription
resultWOPIFileInfoThe file's title, extension, size, the account name of the link's creator, and the object and file version.
result.titlestringThe title of the file.
result.extensionstringFile extension, not including the dot (e.g. "doc").
result.created_by_userstringThe creator of this shared Link.
result.logical_sizeint64The logical size of the file in bytes.
result.change_timegoogle.protobuf.TimestampThe time in UTC the file was last written to or its attributes were changed.
result.obj_verObjVerThe object version referenced by the shared link.
result.obj_ver.obj_idObjIDThe object.
result.obj_ver.versionObjVerVersionThe version. Usually OBJ_VER_VERSION_TYPE_SPECIFIC with internal_version.
result.file_verFileVerThe file version referenced by the shared link.
result.file_ver.file_idFileIDThe file.
result.file_ver.typeFileVerTypeFILE_VER_TYPE_SPECIFIC for a file version number.Values: FILE_VER_TYPE_UNINITIALIZED (0), FILE_VER_TYPE_LATEST (1), FILE_VER_TYPE_ANY (2), FILE_VER_TYPE_SPECIFIC (3).
result.file_ver.internal_versionint32The file version number.
result.file_ver.external_repository_versionstringUsed only for files in external repositories. Leave empty.
result.file_ver.external_repository_sort_keyint64Used only for files in external repositories. Leave 0.