Actions92
- Channel Actions
- Channel > Config Actions
- Event Actions
- Integrations Actions
- Live Actions
- Misc > Countries Actions
- Misc > Stream Actions
- Option Actions
- Option > Record Actions
- Option > Record > Instant Actions
- Option > Record > Storage Actions
- Option > Timeshift Actions
- Option > Watermarking Actions
- Option > Simulcast Actions
- Players Actions
- Players > Ads Actions
- Players > Embeds Actions
- Players > Pictures Actions
- Prices Actions
- Restrictions Actions
- Stats > Channel > Connection History Actions
- Stats > Channel > Consumption Actions
- Stats > Channel > Export Stats Actions
- Stats > Channel > Geolocation Actions
- Stats > Channel > Technologies Actions
- Stats > Channel > Viewers Actions
- Stats > Channel > Viewing Actions
- Stats > Globals > Consumption Actions
- Stats > Globals > Geolocation Actions
- Stats > Globals > Viewers Actions
- Stats > Globals > Viewing Actions
- Thumbnail Actions
- Order Actions
Stats > Channel > Viewers → Viewers Histogram Share
AI-generatedSummary
Fetch viewer count histogram for an Infomaniak streaming channel over a specified interval
Inputs
- authentication (required) — Authentication method (OAuth2 or API Key)
- path_channel (required) — Channel identifier (Pack order ID)
- query_from (required) — Start date for the histogram period
- query_to (required) — End date for the histogram period
- query_per (required) — Granularity of the histogram interval (day, hour, minute, month, quarter, week, year)
- query_account_id (required) — Account identifier
- returnFullResponse (required) — Whether to return the complete API response payload
Output shape
JSON object containing a histogram of viewer counts per selected interval
May include additional metadata; set returnFullResponse to true for the full payload
Examples
Example 1: Retrieve daily viewership histogram for channel 42 from 2024-01-01 to 2024-01-02
authentication: oauth2, path_channel: 42, query_from: 2024-01-01, query_to: 2024-01-02, query_per: day, query_account_id: 1, returnFullResponse: true
Example 2: Get hourly viewership data for channel 7 using API key
authentication: apiKey, path_channel: 7, query_from: 2024-01-01T00:00:00Z, query_to: 2024-01-01T23:59:59Z, query_per: hour, query_account_id: 3, returnFullResponse: false
Example 3: Request quarterly viewership histogram for channel 10 with full response
authentication: oauth2, path_channel: 10, query_from: 2023-01-01, query_to: 2023-12-31, query_per: quarter, query_account_id: 5, returnFullResponse: true