multiplayer activity tracking

This commit is contained in:
Concedo 2024-11-23 19:59:55 +08:00
parent 116879144c
commit c0da7e4dcf
3 changed files with 127 additions and 32 deletions

View file

@ -687,7 +687,29 @@
}
},
"/api/extra/multiplayer/status": {
"get": {
"post": {
"requestBody": {
"content": {
"application/json": {
"example": {
"sender": "KCPP_1234",
"senderbusy": true,
},
"schema": {
"properties": {
"senderbusy": {
"type": "boolean"
},
"sender": {
"type": "string"
}
},
"type": "object"
}
}
},
"required": false
},
"responses": {
"200": {
"content": {
@ -715,7 +737,7 @@
}
},
"/api/extra/multiplayer/getstory": {
"get": {
"post": {
"responses": {
"200": {
"content": {
@ -744,6 +766,7 @@
"application/json": {
"example": {
"full_update": true,
"sender": "LITE_UID_123456",
"data_format": "kcpp_lzma_b64",
"data": "base64_lzma_str",
},
@ -752,6 +775,9 @@
"full_update": {
"type": "boolean"
},
"sender": {
"type": "string"
},
"data_format": {
"type": "string"
},