Channel

Create a channel

This endpoint allows you to create a channel.

post/1/videos

Query parameters

account_idinteger required

Account identifier

The account identifier

ttlinteger

Specify the name of the channel

Request body

namestring required

Specify the name of the channel

Example request

{
  "name": "\"toto\""
}

Response

Created

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": {
    "id": "1",
    "channel_id": 69001,
    "players": [
      {
        "name": "MyRadioPlayer",
        "width": 1280,
        "height": 720,
        "logo_img": "https://static.infomaniak.ch/configvideo/video-streaming-v2/private/{channel}/players/{player}/logo.png",
        "logo_percentage": 50,
        "logo_margin_top": 50,
        "logo_margin_left": 50,
        "control_color": "#FFFFFF",
        "controlbar_color": "#000000",
        "control_active_color": "#0098FF",
        "interrupt_img": "https://static.infomaniak.ch/configvideo/video-streaming-v2/private/{channel}/players/{player}/interrupted.png",
        "restrict_img": "https://static.infomaniak.ch/configvideo/video-streaming-v2/private/{channel}/players/{player}/unauthorized.png",
        "facebook_back_link": "my-lovely-stream.ch",
        "twitter_via": "MyAccount",
        "twitter_back_link": "my-lovely-stream.ch",
        "twitter_related": "infomaniak video live",
        "sound_percentage": 50,
        "integrations": [
          {
            "type": "hls",
            "url": "https://maniak_tv.vedge.infomaniak.com/livecast/ik:maniak_tv/manifest.f4m",
            "stream_id": "maniak_tv"
          }
        ]
      }
    ]
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.