Restrictions

show restriction

This endpoint allows you to retrieve the restriction for the channels.

get/1/videos/{channel}/restrictions

Path parameters

channelinteger required

The unique identifier (ID) of the channel to request.

Query parameters

account_idinteger required

Account identifier

The account identifier

Response

OK

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.