Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Stats > Channel > Technologies → Player Share

AI-generated

Summary

Fetch channel technology consumption statistics over a defined period.

Inputs

  • authentication — Authentication method to use, either OAuth2 or API Key.
  • path_channel (required) — The unique identifier (ID) of the Pack order to request.
  • query_from (required) — Starting date for the consumption data.
  • query_to (required) — Ending date for the consumption data.
  • query_per (required) — Time granularity for consumption data (e.g., day, hour).
  • query_account_id (required) — The account identifier.
  • returnFullResponse — When true, returns the full API response payload.

Output shape

Object containing consumption statistics grouped by the requested period

May be paginated; optional fields depend on authentication; when returnFullResponse is true the raw API payload is returned, otherwise a summarized structure.

Examples

Example 1: Daily consumption report for channel 12345 using API Key

authentication=apiKey; path_channel=12345; query_from=2024-01-01; query_to=2024-01-31; query_per=day; query_account_id=987; returnFullResponse=false

Example 2: Hourly consumption for channel 54321 with full response

authentication=oauth2; path_channel=54321; query_from=2024-03-01T00:00:00Z; query_to=2024-03-01T23:59:59Z; query_per=hour; query_account_id=123; returnFullResponse=true

Example 3: Quarterly overview for account 456 using OAuth2

authentication=oauth2; path_channel=0; query_from=2024-01-01; query_to=2024-03-31; query_per=quarter; query_account_id=456; returnFullResponse=false

Links

Discussion