Channels: Assign (Deprecated)

Backlot API v1

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

Backlot API v2

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

Examples

The following example replaces the current channel 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 lineup:

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

Backlot returns a response similar to the following:

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

해당 내용이 도움 되었습니까?