generated from VLADIMIR/template
add delete last action
This commit is contained in:
@@ -445,6 +445,19 @@ service EveningDetectiveServer {
|
||||
summary: "Сделать ход";
|
||||
};
|
||||
}
|
||||
|
||||
rpc DeleteLastTeamAction(DeleteLastTeamActionReq) returns (DeleteLastTeamActionRsp) {
|
||||
option (google.api.http) = {
|
||||
delete: "/api/teams/{id}/last-actions"
|
||||
};
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
security: {
|
||||
security_requirement: {}
|
||||
}
|
||||
tags : "Ходы";
|
||||
summary: "Удалить последний ход";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
message PingReq {}
|
||||
@@ -823,3 +836,11 @@ message AddTeamActionReq {
|
||||
message AddTeamActionRsp {
|
||||
string error = 1;
|
||||
}
|
||||
|
||||
message DeleteLastTeamActionReq {
|
||||
int64 id = 1;
|
||||
}
|
||||
|
||||
message DeleteLastTeamActionRsp {
|
||||
string error = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user