Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Streams → Store Stream

AI-generated

Summary

Store a streaming radio stream with specified configuration.

Inputs

  • authentication — Authentication method (OAuth2 or API Key).
  • path_radio_product_id (required) — Unique identifier of the radio product to request.
  • path_station_id (required) — Unique identifier of the station to request.
  • queryParameters — Optional query parameters for pagination, sorting, and response format.
  • body_bitrate (required) — Bitrate of the stream (e.g., 128, 192, etc.).
  • body_codec (required) — Codec of the stream (e.g., 1,2,3,4).
  • body_mountpoint (required) — Mountpoint of the stream.
  • bodyParameters — Collection of additional body fields such as country list, fallback settings, and access restrictions.
  • body_country_list — Specify the country list not allow accessing to the stream.
  • body_fallback_is_active_relay — Specify if the fallback is a relay stream.
  • body_fallback_relay_mountpoint — Specify the relay mountpoint for the fallback.
  • body_fallback_relay_port — Specify the relay server port for the fallback.
  • body_fallback_relay_server — Specify the relay server domain for the fallback.
  • body_hash_key — Specify the token to protect the stream.
  • body_ip_exclude_list — Specify the ip list not allow accessing to the stream.
  • body_ip_include_list — Specify the ip list allow accessing to the stream.
  • body_is_active_relay — Specify if this is a relay stream.
  • body_is_allow_country — Specify if the access restriction rules is enabled.
  • body_is_fallback — Specify if the new stream have a fallback.
  • body_is_hash_restriction — Specify if the access restriction rules is enabled.
  • body_relay_mountpoint — Specify the relay mountpoint.
  • body_relay_port — Specify the relay server port.
  • body_relay_server — Specify the relay server domain.
  • returnFullResponse — If true, the full response body is returned instead of a summary.

Output shape

a single stream object (or success response)

Success response; details of the created stream may be returned; no pagination details are specified.

Examples

Example 1: Create a new streaming radio using OAuth2 authentication

authentication: oauth2; path_radio_product_id: 123; path_station_id: 45; body_bitrate: 128; body_codec: 1

Example 2: Store a stream with API Key and custom query parameters

authentication: apiKey; path_radio_product_id: 123; path_station_id: 45; queryParameters: {limit:10, order_by:'name', order:'asc'}; body_bitrate: 192; body_codec: 2

Links

Discussion