IRPCWOPIOperationsPublic.GetLockForWOPI

View as Markdown

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

Gets the WOPI lock string of the file of a WOPI user session.

ServiceWOPI operations (anonymous) MFiles.IRPCWOPIOperationsPublic
gRPC method/MFiles.IRPCWOPIOperationsPublic/GetLockForWOPI
HTTP (mf-http-grpc)POST /grpc/v1/get-lock-for-wopi
RequestGetLockForWOPIRequest
ResponseGetLockForWOPIResponse
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 to implement the WOPI lock operations. Applications should not call it.

Request: GetLockForWOPIRequest

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: GetLockForWOPIResponse

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

FieldTypeDescription
infoWOPILockThe current lock string in lock; empty when there is no lock.
info.lockstringThe WOPI lock key.