チャンネル:作成

Backlot API v1

http://www.ooyala.com/partner/channels
?pcode=<pcode>
&channelEmbedCode=<channelEmbedCode>
&expires=<expiration>
&mode=create
@title=<channelTitle>
&signature=<signature>
    
   

Backlot API v2

[POST] https://api.ooyala.com/v2/assets
{
  "name": "<channel name>",
  "asset_type": "channel"
  <attributes>
}

   

次の例はチャンネルを作成します。

[POST] https://api.ooyala.com/v2/assets
{
  "name": "My Channel",
  "asset_type": "channel"
}    

Backlot は次のようなレスポンスを返します。

{
  "asset_type": "channel",
  "duration": 0,
  "name": "My Channel",
  "preview_image_url": null,
  "created_at": "2011-08-10T17:45:24+00:00",
  "embed_code": "dvNTVxMjrRktSlb5v",
  "time_restrictions": null,
  "updated_at": "2011-08-10T17:45:24+00:00",
  "external_id": null,
  "hosted_at": null,
  "original_file_name": null,
  "description": null,
  "status": "live"
}

この記事はお役にたちましたか?