Add ping support

This commit is contained in:
Jonas Lochmann
2026-03-23 01:00:00 +01:00
parent 510c61bafd
commit 3aed2010c7
28 changed files with 1085 additions and 16 deletions
@@ -21,6 +21,9 @@
{
"$ref": "#/definitions/SerializedMarkTaskPendingAction"
},
{
"$ref": "#/definitions/SerializedPingAction"
},
{
"$ref": "#/definitions/SerializedUpdateInstalledAppsAction"
},
@@ -309,6 +312,43 @@
],
"title": "SerializedMarkTaskPendingAction"
},
"SerializedPingAction": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"PING"
]
},
"deviceId": {
"type": "string"
},
"event": {
"$ref": "#/definitions/PingEvent"
},
"token": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"deviceId",
"event",
"token",
"type"
],
"title": "SerializedPingAction"
},
"PingEvent": {
"enum": [
"clear",
"ping",
"pong"
],
"type": "string",
"title": "PingEvent"
},
"SerializedUpdateInstalledAppsAction": {
"type": "object",
"properties": {