IRPCVaults.GetVaults

View as Markdown

Vault API / core read session idempotent

Lists the vaults on the server that the session's user can see.

ServiceVaults on a server MFiles.IRPCVaults
gRPC method/MFiles.IRPCVaults/GetVaults
HTTP (mf-http-grpc)POST /grpc/v1/get-vaults
RequestGetVaultsRequest
ResponseGetVaultsResponse
Book and levelVault API, core
Kindread
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Requires a session, either server-level or vault-level; without one the call fails with UNAUTHENTICATED.

Which vaults are returned:

vaults and online_states are parallel arrays: online_states[i] is the state of vaults[i].

Request: GetVaultsRequest

A structure that specifies get vaults request.

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

FieldTypeDescription
include_offline_vaultsboolTrue to also return vaults that are offline. Default false: only online vaults.
exclude_vaults_user_cannot_accessboolTrue to return only vaults the user can log in to. Without it a non-administrator also sees vaults where the user account exists but cannot log in, and a user who manages vaults sees all vaults.

Response: GetVaultsResponse

A structure that specifies get vaults response.

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

FieldTypeDescription
vaults[]repeated VaultBasicThe visible vaults. guid is the value to pass in LoginData.vault_guid.
vaults[].guidstringThe vault GUID, in braces and upper case. Use it as LoginData.vault_guid.
vaults[].display_namestringThe vault name shown to users.
vaults[].tooltipstringOptional description. Often empty.
vaults[].iconbytesThe vault icon in .ico format, or empty.
vaults[].dns_namesStringArrayHost names configured for the vault, if any.
vaults[].dns_names.value[]repeated stringString values.
online_states[]repeated boolTrue if the vault at the same index in vaults is online.