This commit is contained in:
2026-10-11 02:23:22 +07:00
parent 9d46fc0e13
commit 62b623d3ca
9 changed files with 1089 additions and 716 deletions
+14
View File
@@ -626,6 +626,14 @@ service EveningDetectiveServer {
};
}
// HTTP uploads are streamed by a dedicated handler, bypassing gRPC message limits.
rpc ImportGame(google.api.HttpBody) returns (GameImportRsp) {
option (google.api.http) = {
post: "/api/games/import"
body: "*"
};
}
rpc StartGameExport(StartGameExportReq) returns (GameExportRsp) {
option (google.api.http) = {
post: "/api/games/{ID}/export"
@@ -1653,6 +1661,12 @@ message GameExport {
string failure = 6;
}
message GameImportRsp {
int32 gameID = 1;
string packageID = 2;
bool repeated = 3;
}
message StartGameExportReq { int32 ID = 1; }
message GetGameExportReq { int32 ID = 1; }