Channel Sets: Assign (Deprecated)

Backlot API v1

http://www.ooyala.com/partner/channel_sets
?pcode=<pcode>
&channelSetEmbedCode=<channelSetEmbedCode>
&expires=<expiration>
&mode=assign
&embedCodes=<embedCode1>,<embedCode2>
&signature=<signature>              
    
   

Backlot API v2

[PUT] https://api.ooyala.com/v2/assets/<channelSetId>/lineup
[
 <embedCodes>
]

   

Examples

The following example replaces the current channel set lineup:

[GET] https://api.ooyala.com/v2/assets/dvNTVxMjrRktSlb5v
    

Backlot returns a response similar to the following:

[
  "IzNnllMjphu2XF3",
  "Y1dTdvMjq9QtOMG"
]

The following example adds an asset to the current channel set lineup:

[PATCH] https://api.ooyala.com/v2/assets/dvNTVxMjrRktSlb5v/lineup/rtsfds23xFTrejrtUe
          

Backlot returns a response similar to the following:

[
  "IzNnllMjphu2XF3",
  "Y1dTdvMjq9QtOMG"
  “rtsfds23xFTrejrtUe”
]

Was this article helpful?