generated from VLADIMIR/template
up
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user