retusn del nil
This commit is contained in:
+27
-5
@@ -50,7 +50,7 @@ message AdminItemsRequest {
|
||||
int32 status = 6;
|
||||
}
|
||||
|
||||
message AdminLoginRequest {
|
||||
message LoginRequest {
|
||||
string username = 1;
|
||||
string password = 2;
|
||||
}
|
||||
@@ -62,6 +62,10 @@ message InfoRequest {
|
||||
int64 id = 1;
|
||||
}
|
||||
|
||||
message LoginKickedOutRequest {
|
||||
int64 id = 1;
|
||||
}
|
||||
|
||||
message ServiceEditRequest {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
@@ -178,15 +182,15 @@ service Admin {
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc AdminLogin(AdminLoginRequest) returns(Response){
|
||||
rpc LoginRefresh(AdminEmptyRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v3/login"
|
||||
post: "/admin/v3/refresh"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc AdminRefresh(AdminEmptyRequest) returns(Response){
|
||||
rpc Login(LoginRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v3/refresh"
|
||||
post: "/admin/v3/login"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
@@ -196,6 +200,24 @@ service Admin {
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc LoginItems(AdminEmptyRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v3/login/items"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc LoginKickedOut(LoginKickedOutRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v3/kicked-out"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc LogOut(AdminEmptyRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v3/logout"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc LoginRoutes(RoutesRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
get: "/admin/v3/routes"
|
||||
|
||||
Reference in New Issue
Block a user