Info
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 | – |
Type
Name | Number | Description |
USER | 0 | |
SERVICE_ACCOUNT | 1 | |
INTERNAL | 2 |
GetCurrentUserRequest
GetCurrentUserRequest is the request for getting the user information.
Name | Number | Description |
GetVersionRequest
Request to retrieve the version of the service Bridge platform.
Name | Number | Description |
Version
The version of the Service Bridge platform.
Field | Description | Validation Rule |
version | string | – |