Event Control API
API For working with built-in websocket.
GET /event/list
Get the list of events that can be subscribed to using the websocket API.
Response
200 - OK
The response is a JSON object.
Name
events
events[i]
Notification websocket
Service that notifies subscribers of device state changes.
messages
Subscribe (The messages from the server/device)
(JSON)
Name
.data
.data.action
.data.properties
.data.properties[i]
.data.values
.data.success
.type
.id
Type
Description
array
List of events that can be subscribed to using the
string
websocket API
1
0
0
-
.
.
Type
Description
object
Possible values are: subscribe, unsubscribe,
string
listSubscriptions, listProperties .
array
Device property the user can subscribe to. The user can
either choose a value from the predefined enum or provide
a wildcard string. Possible values are: /media/active,
string
/system, /system/codecFormat, /system/videoFormat,
/timelines/0, /transports/0, /transports/0/stop, /transports/0/
play, /transports/0/playback, /transports/0/record . Must
match the pattern: .*.
An object with property names as the key and a property
object
value as json. Check the next section for a the device
properties and their return values.
boolean
string
Possible values are: response .
Optional parameter that repeats the id in the output for
number
tracking messages
Developer Information
791