order

Update a pack

This endpoint allows you to update a Pack order.

put/1/videos/order

Query parameters

withstring

Optional : Allows loading additional data about a resource, which may include related resources.

account_idinteger required

Account identifier

The account identifier

Request body

allowed_excessinteger

Specify a limit before the interruption of live events in case of overrun

Response

OK

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

Result of the HTTP request

Example response

{
  "result": "success",
  "data": {
    "package_commande_id": 5000042,
    "pack": {
      "id": 1,
      "name": "Pro",
      "available_space_vod": 100
    },
    "periodicity": {
      "id": 1,
      "value": "MONTH"
    },
    "channels": [
      {
        "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"
              }
            ]
          }
        ]
      }
    ],
    "vod": {
      "vod_id": 1980
    },
    "account": {
      "id": 1234,
      "name": "Secret Organization",
      "legal_entity_type": "company",
      "created_at": 1294959600,
      "addresses": [
        {
          "id": 1234,
          "street": "Rue Eugène-Marziano 25",
          "zip": "1227",
          "city": "Genève",
          "type": "professional",
          "created_at": 1558601584
        }
      ],
      "timezone": "Europe/Zurich",
      "website": "https://www.infomaniak.com",
      "phone": "+41790000000",
      "fax": "+41220000000",
      "locale": "fr_FR",
      "language_id": 1,
      "logo": "https://www.infomaniak.com/img/common/logo-infomaniak.svg",
      "order": {
        "waiting_payment": 1
      },
      "type": "owner",
      "tags": [
        {
          "id": 1234,
          "name": "My tag name",
          "color": 4,
          "product_count": 2
        }
      ],
      "nb_invitations": 2,
      "nb_users": 2
    }
  }
}

Changes

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