Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

General → Get Channel Viewing Time

AI-generated

Summary

Retrieve the total viewing time of a specified Infomaniak Vod channel, optionally filtered by a start date.

Inputs

  • Authentication (required) — Choose the authentication method: OAuth2 token or API key.
  • Channel (required) — Specify the channel identifier to retrieve viewing time for.
  • From (query parameter) — Optional start date timestamp to filter viewing time from.
  • Return Full Response — Specify whether to return the complete API response or just the relevant data.

Output shape

a JSON object representing viewing time data for the specified channel, or the full API response if requested

If 'Return Full Response' is true, the entire API response object will be returned; otherwise, a streamlined data object is returned. The operation requires authentication.

Examples

Example 1: Fetching viewing time for a channel since a specific date

OAuth2 authentication, Channel ID set, 'From' timestamp provided, Return Full Response set to false.

Links

Discussion