You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 4 Next »
Requires Authentication?
Yes
Response Formats
json
HTTP Methods
GET
Starts the desired encoder on a specific device in the stack, if defined.
http://{host}/api/2.0/outputs/command/start/{encoder_id}/{device_id}/.format
http://44.235.52.211/api/2.0/outputs/command/start/1/9011/.json
{ "Task": { "id": 233046, "device_id": 9011, "type": "Toggle Encoder State", "type_id": 17, "mode": "Starting", "mode_id": 1, "status": null, "description": null, "total": 0, "completed": 0, "time_remained": 0, "modified": "1612535089416" } }
Stops an active encoder.
http://{host}/api/2.0/outputs/command/stop/{encoder_id}/.format
Parameter
Data Type
Description
encoder_id(required)
integer
The ID of the desired encoder.
http://44.235.52.211/api/2.0/outputs/command/stop/1/.json
{ "Task": { "id": 290706, "device_id": 9011, "type": "Toggle Encoder State", "type_id": 17, "mode": "Starting", "mode_id": 1, "status": null, "description": null, "total": 0, "completed": 0, "time_remained": 0, "modified": "1612535003126" } }
Changes audio mosaic state.
http://{host}/api/2.0/outputs/command/setSourceAudioPid/<encoder_id>/<channel_source_id>/<pid>/.json
http://192.168.10.137/api/2.0/outputs/command/setSourceAudioPid/1/3/68/.json
{ "success": true }