Skip to content

Channel Resume

To resume a channel that is currently in a paused state call the URI http(s)://<qie_server>:<management_api_port>/channel/resume with the following payload:

{
   "zoneName": "<desired zone>",
   "channelName": "<desired channel>",
   "formatOutput": true | false
}

Base JSON Payload Definition

Node Description
zoneName REQUIRED: The name of the zone containing the channel.
channelName REQUIRED: The name of the channel.
formatOutput True if the response JSON should be formatted as human readable (default=false).

The following response is received if the zone and channel are found, and the channel was successfully resumed:

HTTP Status: 200

{
   "message": "<response_message>"
}
Node Description
message This message indicates whether the channel was resumed or if it was already running.

If there is an error finding the zone or channel, or there was an error resuming the channel, then the following response is received:

HTTP Status: 400

{
   "error": "<error message>"
}

Example curl command:

curl -H "apiToken:abc123" --request POST http://qieserver:9999/channel/resume -d '{"zoneName":"myZoneName","channelName":"myChannelName"}'
curl -H "apiToken:abc123" --request POST http://qieserver:9999/channel/resume -d "{\"zoneName\":\"myZoneName\",\"channelName\":\"myChannelName\"}"
curl -H @{"apiToken"="abc123"} -Method POST http://qieserver:9999/channel/resume -Body '{"zoneName":"myZoneName","channelName":"myChannelName"}' | Select-Object -Expand RawContent