IRPCWOPIOperations.CreateContainerAccessToken

View as Markdown

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

Creates, or returns the existing, container access token with which the Office mobile apps browse a vault location through the M-Files WOPI service.

ServiceWOPI operations MFiles.IRPCWOPIOperations
gRPC method/MFiles.IRPCWOPIOperations/CreateContainerAccessToken
HTTP (mf-http-grpc)POST /grpc/v1/create-container-access-token
RequestCreateContainerAccessTokenRequest
ResponseCreateContainerAccessTokenResponse
Book and levelServer integration API, specialized
Kindwrite
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

For M-Files components only. The M-Files WOPI service calls it after it has logged in for an Office mobile app user. Applications should not call it.

Request: CreateContainerAccessTokenRequest

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

FieldTypeDescription
container_pathstringThe container path as the M-Files WOPI service forms it (at most 250 characters).

Response: CreateContainerAccessTokenResponse

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

FieldTypeDescription
wopi_container_token_infoWOPIContainerTokenInfoThe token, the session's user ID, user name and email address, and the expiration time (UTC).
wopi_container_token_info.container_access_tokenstringThe container access token.
wopi_container_token_info.user_idstringThe user id.
wopi_container_token_info.user_namestringThe user name.
wopi_container_token_info.email_idstringThe user's email id.
wopi_container_token_info.expiration_timegoogle.protobuf.TimestampThe container access token expiration time in UTC.