PUT v1/livestreams/{id}/state

This method requires authentication.

Change the state of the LiveStream. Valid State values are "START_PENDING" and "STOP_PENDING"

Request Information

Parameters

NameDescriptionAdditional information
id ID of LiveStream to update.

Define this parameter in the request URI.

request Change state request.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "newState": "sample string 1"
}

application/xml, text/xml

Sample:
<StateChangeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.Controllers.api.v1">
  <NewState>sample string 1</NewState>
</StateChangeRequest>