Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Stats > Channel > Technologies → Browsers Share

AI-generated

Summary

Fetch aggregated browser‑share statistics for a channel over a configured date range, optionally grouped by an interval and returning either a summary or full API response.

Inputs

  • authentication — Authentication method; one of OAuth2 or API Key. Default is OAuth2.
  • path_channel (required) — The unique identifier (ID) of the Pack order to request.
  • query_from (required) — Specify the starting date to get Consumption.
  • query_to (required) — Specify the ending date to get Consumption.
  • query_per (required) — Specify the aggregation interval; one of day, hour, minute, month, quarter, week, year.
  • query_account_id (required) — The account identifier.
  • returnFullResponse — If true, the full API response is returned; otherwise a simplified summary is returned. Default is false.

Output shape

an object containing aggregated browser‑share statistics for the specified channel and period

When returnFullResponse is true the full API payload is returned; otherwise only key metrics are included. The response shape is consistent across calls.

Examples

Example 1: Basic usage with OAuth2

{"authentication":"oauth2","path_channel":12345,"query_from":"2024-01-01","query_to":"2024-01-31","query_per":"hour","query_account_id":987,"returnFullResponse":false}

Example 2: API‑Key authentication, full response

{"authentication":"apiKey","path_channel":67890,"query_from":"2024-02-01","query_to":"2024-02-28","query_per":"day","query_account_id":101,"returnFullResponse":true}

Example 3: Quarterly aggregation for a different account

{"authentication":"oauth2","path_channel":1122,"query_from":"2024-01-01","query_to":"2024-12-31","query_per":"quarter","query_account_id":202,"returnFullResponse":false}

Links

Discussion