This commit is contained in:
2026-10-17 16:00:21 +07:00
parent ee0478ab16
commit 300ff484df
21 changed files with 1643 additions and 870 deletions
+54 -1
View File
@@ -684,6 +684,7 @@
]
},
"post": {
"summary": "Each request creates a fresh setup package, replacing any unfinished preparation.",
"operationId": "EveningDetectiveServer_StartGameExport",
"responses": {
"200": {
@@ -761,6 +762,46 @@
]
}
},
"/api/games/{ID}/local-mode/reset": {
"post": {
"summary": "Release the transfer without discarding ready packages or their future results.",
"operationId": "EveningDetectiveServer_ResetGameLocalMode",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/evening_detective_serverResetGameLocalModeRsp"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "ID",
"in": "path",
"required": true,
"type": "integer",
"format": "int32"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/EveningDetectiveServerResetGameLocalModeBody"
}
}
],
"tags": [
"EveningDetectiveServer"
]
}
},
"/api/games/{ID}/pause": {
"put": {
"summary": "Остановить игру",
@@ -4209,6 +4250,15 @@
"EveningDetectiveServerResetGameBody": {
"type": "object"
},
"EveningDetectiveServerResetGameLocalModeBody": {
"type": "object",
"properties": {
"exportID": {
"type": "string",
"description": "Expected latest export, protecting against stale confirmations."
}
}
},
"EveningDetectiveServerSaveScreenPlanBody": {
"type": "object",
"properties": {
@@ -5043,7 +5093,7 @@
},
"state": {
"type": "string",
"description": "preparing, ready or failed; preparing/ready lock game writes."
"description": "preparing, ready or failed; ready indicates a completed package."
},
"packageID": {
"type": "string"
@@ -5831,6 +5881,9 @@
}
}
},
"evening_detective_serverResetGameLocalModeRsp": {
"type": "object"
},
"evening_detective_serverResetGameRsp": {
"type": "object"
},