Info
import { PanelContent, PanelContentCode, } from “@theme/Panel”;
Provide information about the Service bridge platform.
Info
The Info service provides information about the service Bridge platform.
GetVersion
rpc GetVersion (tetrateio.api.tsb.v2.GetVersionRequest) returns (tetrateio.api.tsb.v2.Version)
GetVersion returns the version of the TSB binary
GetCurrentUser
rpc GetCurrentUser (tetrateio.api.tsb.v2.GetCurrentUserRequest) returns (tetrateio.api.tsb.v2.CurrentUser)
GetCurrentUser returns the information of the user or service account that made the request.
CurrentUser
CurrentUser contains the information of the user or service account that made the request.
Field | Description | Validation Rule |
---|---|---|
loginName |
string |
– |
type |
tetrateio.api.tsb.v2.CurrentUser.Type |
– |
sourceType |
string |
– |
|
string |
– |
displayName |
string |
– |
firstName |
string |
– |
lastName |
string |
– |
organization |
string |
– |
Version
The version of the Service Bridge platform.
Field | Description | Validation Rule |
---|---|---|
version |
string |
– |
Type
Field | Number | Description |
---|---|---|
USER |
0 |
|
SERVICE_ACCOUNT |
1 |
|
INTERNAL |
2 |