Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

General → Get Media Viewers Per Encoding Histogram

AI-generated

Summary

Retrieve a histogram of media viewers per encoding for a specified channel and media item, optionally filtered by a start date.

Inputs

  • Authentication (required) — Choose the authentication method to access the API — either OAuth2 or API Key.
  • Channel (required) — Enter the identifier of the channel from which to retrieve media viewer statistics.
  • Media (required) — Enter the identifier of the media item whose viewers per encoding histogram is to be fetched.
  • Additional Query Parameters — Optionally specify query parameters such as 'From' to filter the data starting from a given date timestamp.
  • Return Full Response — Toggle to return the complete API response including metadata instead of only the relevant data.

Output shape

An object representing the histogram data of viewers per encoding for the specified media within the channel.

If 'Return Full Response' is enabled, the output will include the entire API response structure; otherwise, it will contain only the core data. The request requires valid authentication and specified channel and media IDs. The 'From' query parameter, if provided, filters results starting from the provided date timestamp.

Examples

Example 1: Retrieve viewer histogram for a media item

Authenticate via OAuth2, specify a channel and media ID, optionally set a 'From' timestamp, and receive histogram data output.

Links

Discussion