Server version (IRPCQueryVersion)
An interface for querying server version information.
This interface provides a method for querying server version information. This is used to check the compatibility of the server and client. Also methods for querying information about the versions of other M-Files components can be placed here.
| gRPC service | MFiles.IRPCQueryVersion |
|---|---|
| Book and level | Vault API, core |
| Methods | 2 |
| Proto file | mfiles/IRPCQueryVersion.proto |
Overview
The only service you can call before anything else: it needs no session and no login, so it is the standard "is the server there, and which version is it?" probe.
- QueryVersion returns the server version. Call it first to check connectivity and to decide which methods and fields you can rely on.
- GetUIVersionInfo is used by M-Files clients to find the web UI assets to load; applications rarely need it.
Typical order: QueryVersion, then
GetServerCapabilities for optional features, then
LogIn. See
Connecting to the server and
Versions and compatibility.
Highlighted methods
| Method | Summary | Facts |
|---|---|---|
| QueryVersion | Gets the server version and the oldest client version the server accepts. | read no session idempotent |
Other methods
| Method | Summary | Facts |
|---|---|---|
| GetUIVersionInfo | Gets the version of the web UI assets that M-Files clients should load, and where to load them from. | read no session idempotent |