Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Stats > Hls Stream → Get Consumption

AI-generated

Summary

Fetch HLS stream consumption statistics for a given radio product and station.

Inputs

  • authentication — Authentication method (OAuth2 or API Key)
  • path_radio_product_id (required) — Radio product ID to query
  • path_station_id (required) — Station ID to query
  • query_from (required) — Start time (ISO) for consumption stats
  • query_to (required) — End time (ISO) for consumption stats
  • returnFullResponse — Return the complete response body when true

Output shape

JSON object with consumption statistics

May include optional fields; empty object if no data. Pagination not supported in this endpoint.

Examples

Example 1: Get consumption stats for a specific radio product and station over the previous day

authentication: apiKey, path_radio_product_id: 123, path_station_id: 45, query_from: '2024-10-31T00:00:00Z', query_to: '2024-10-31T23:59:59Z', returnFullResponse: false

Example 2: Authenticate via OAuth2 and retrieve full response for detailed stats

authentication: oauth2, path_radio_product_id: 987, path_station_id: 654, query_from: '', query_to: '', returnFullResponse: true

Links

Discussion