Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Stats > Hls Stream → Get Total Consumption

AI-generated

Summary

Fetch total consumption statistics for a specific radio product and station within a date range.

Inputs

  • authentication — Authentication method (OAuth2 or API Key)
  • path_radio_product_id (required) — Unique identifier of the radio product
  • path_station_id (required) — Unique identifier of the station
  • query_from (required) — Start date for the consumption period (inclusive)
  • query_to (required) — End date for the consumption period (inclusive)
  • returnFullResponse — If true, returns the full API response; otherwise returns a concise summary

Output shape

JSON object containing the total consumption metrics returned by the Infomaniak API

The shape may include fields such as total_bytes or total_hours; exact fields depend on the API response and are not paginated.

Examples

Example 1: Request total consumption for product ID 12 and station ID 34 from 2023-01-01 to 2023-12-31, returning a concise summary

authentication=OAuth2; path_radio_product_id=12; path_station_id=34; query_from=2023-01-01; query_to=2023-12-31; returnFullResponse=false

Links

Discussion