Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Hls Stream → Get Hls Stream

AI-generated

Summary

Fetch an HLS stream for a specified radio product and station.

Inputs

  • authentication — Authentication method – OAuth2 or API Key.
  • path_radio_product_id (required) — ID of the radio product to request.
  • path_station_id (required) — ID of the station to request.
  • query_return — If set to 'total', returns the count of items instead of the items themselves.
  • query_limit — Maximum number of items to return.
  • query_skip — Index of the first item to return (zero‑based).
  • query_page — Page number for pagination.
  • query_per_page — Number of items per page.
  • query_order_by — Field used for sorting.
  • query_order — Sort order – 'asc' or 'desc'.
  • query_order_for — Sorting order for a field (default uses 'order').
  • returnAll — If true, returns all items without pagination limits.
  • limit — Maximum number of items to return (1‑500).
  • returnFullResponse — If true, returns the full response body; otherwise only a success indicator.

Output shape

a single HLS stream object containing the stream URL and metadata

Pagination parameters (limit, skip, page, etc.) can restrict the returned items; setting returnAll returns all items up to the API limit.

Examples

Example 1: Retrieve a stream for radio product 789 and station 101 using OAuth2.

authentication=oauth2, path_radio_product_id=789, path_station_id=101

Example 2: List the first 20 items of a stream with custom sorting.

path_radio_product_id=789, path_station_id=101, query_limit=20, query_order_by="name", query_order="asc"

Links

Discussion