diff options
-rw-r--r-- | api/proto/idb/user/v1/user.proto | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/api/proto/idb/user/v1/user.proto b/api/proto/idb/user/v1/user.proto index 5728163..d2048a8 100644 --- a/api/proto/idb/user/v1/user.proto +++ b/api/proto/idb/user/v1/user.proto @@ -20,6 +20,8 @@ service UserService { rpc CreateUser(CreateUserRequest) returns (CreateUserResponse); rpc GetUser(GetUserRequest) returns (GetUserResponse); rpc UpdateUser(UpdateUserRequest) returns (UpdateUserResponse); + + rpc CheckIBDUsername(CheckIBDUsernameRequest) returns (CheckIBDUsernameResponse); } message CreateUserRequest { @@ -46,3 +48,11 @@ message UpdateUserRequest { message UpdateUserResponse { User user = 1; } + +message CheckIBDUsernameRequest { + string ibd_username = 1; +} + +message CheckIBDUsernameResponse { + bool exists = 1; +} |