summaryrefslogtreecommitdiff
path: root/rest-api/api-docs/events.json
diff options
context:
space:
mode:
Diffstat (limited to 'rest-api/api-docs/events.json')
-rw-r--r--rest-api/api-docs/events.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/rest-api/api-docs/events.json b/rest-api/api-docs/events.json
index e30a193c1..a342099a8 100644
--- a/rest-api/api-docs/events.json
+++ b/rest-api/api-docs/events.json
@@ -76,6 +76,7 @@
}
},
"subTypes": [
+ "DeviceStateChanged",
"PlaybackStarted",
"PlaybackFinished",
"ApplicationReplaced",
@@ -98,6 +99,17 @@
"StasisStart"
]
},
+ "DeviceStateChanged": {
+ "id": "DeviceStateChanged",
+ "description": "Notification that a device state has changed.",
+ "properties": {
+ "device_state": {
+ "type": "DeviceState",
+ "description": "Device state object",
+ "required": true
+ }
+ }
+ },
"PlaybackStarted": {
"id": "PlaybackStarted",
"description": "Event showing the start of a media playback operation.",