Add search and avatar services
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
14
auth.proto
14
auth.proto
@@ -11,6 +11,7 @@ service AuthService {
|
||||
rpc GetGroupRole(IdMessage) returns (RoleReponse);
|
||||
rpc ValidateSession(IdMessage) returns (ValidateResponse);
|
||||
rpc GetAuthMetadata(google.protobuf.Empty) returns (AuthMetadataResponse);
|
||||
rpc GetAvatars(AvatarListRequest) returns (AvatarListResponse);
|
||||
}
|
||||
|
||||
message IdMessage {
|
||||
@@ -43,3 +44,16 @@ message AuthMetadataResponse {
|
||||
string AccountURL = 3;
|
||||
}
|
||||
|
||||
message AvatarListRequest {
|
||||
repeated uint64 UserIDs = 1;
|
||||
}
|
||||
|
||||
message AvatarItem {
|
||||
uint64 UserID = 1;
|
||||
string AvatarURL = 2;
|
||||
}
|
||||
|
||||
message AvatarListResponse {
|
||||
repeated AvatarItem Avatars = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user