Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

General → Get Channel Viewers Histogram

AI-generated

Summary

Retrieve a histogram of viewers for a specified channel, optionally filtered by start date and grouped by time intervals.

Inputs

  • Authentication (required) — Select the authentication method: OAuth2 or API Key.
  • Channel (required) — Specify the channel identifier to get the viewers histogram for.
  • Additional Query Parameters — Optionally specify 'From' to set the begin date timestamp and 'Per' to define the grouping interval for the histogram (e.g., 1d, 1h, 1m).
  • Return Full Response — Choose whether to return the full API response or only the extracted data.

Output shape

a JSON object representing the viewers histogram data for the specified channel, potentially including grouped viewer counts over time

If 'Return Full Response' is true, the output includes all response metadata along with the data; otherwise, only the main data payload is returned. The histogram data is filtered according to provided query parameters, else defaults are applied.

Examples

Example 1: Get daily viewer histogram from a specific date

Authentication via OAuth2, specific channel ID, 'From' date set, 'Per' set to '1d'.

Links

Discussion