add delete last action

This commit is contained in:
2026-07-28 00:09:29 +07:00
parent 65763a3e10
commit 5a5b36e44d
5 changed files with 334 additions and 52 deletions
+21
View File
@@ -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;
}