Sends a command to an STB device. The device must be online and connected (status Online or Standby) to successfully receive the command. Commands are sent immediately to the receiving STB and are not queued or retained for offline devices. Commands are identified by a string and the expected parameters are defined uniquely for each supported command.
Authorizations: STB Administration
Requests
Power On/Off
POST /apis/devices/stbs/:stbId/commands {
"command":"standby-off"
}
POST /apis/devices/stbs/:stbId/commands {
"command":"standby-on"
}
Parameters:
Field
Type
Description
command
String
Command to send: standby-off or standby-on.
Reboot
POST /apis/devices/stbs/:stbId/commands {
"command":"reboot"
}
Parameters:
Field
Type
Description
command
String
Command to send: reboot.
Mute/Unmute
POST /apis/devices/stbs/:stbId/commands {
"command":"mute"
}
POST /apis/devices/stbs/:stbId/commands {
"command":"unmute"
}
Parameters:
Field
Type
Description
command
String
Command to send: mute or unmute.
Set Volume
POST /apis/devices/stbs/:stbId/commands {
"command":"set-volume",
"parameters": {
"volume": .75
}
}