Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

General → Get Viewing Time Per Encoding And Media

AI-generated

Summary

Fetch viewing time statistics per encoding and media for a specified channel from the Infomaniak VOD API.

Inputs

  • Authentication (required) — Choose the authentication method: OAuth2 or API Key.
  • Channel (required) — Specify the channel identifier to query viewing times from.
  • Media (required) — Specify the media identifier related to the viewing time data.
  • Additional Query Parameters — Optional query parameters including 'From' (begin date timestamp) to filter data by start date and 'Per' to group histogram data by intervals such as 1d, 1h, or 1m.
  • Return Full Response — Boolean flag to return the full API response instead of just extracted data.

Output shape

a JSON object representing viewing time statistics per encoding and media for the specified channel and media, optionally grouped by time intervals if provided.

If 'Return Full Response' is true, the output includes all API response data; otherwise, only the relevant data portion is returned.

Links

Discussion