Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

V3 > Statistics → Get The Average View Time.

AI-generated

Summary

Retrieve the average view time metric for a specific video sequence within Infomaniak Vod statistics.

Inputs

  • Authentication (required) — Select the authentication method: OAuth2 or API Key.
  • Subject (required) — Specify the unique identifier of the video sequence (Subject) to get statistics for.
  • Additional Query Parameters — Optionally provide 'From' and 'To' dates to define the date range, and 'Top' to limit the number of results.
  • Return Full Response — Choose whether to return the full API response or only the extracted data.

Output shape

The operation returns JSON data containing the average view time statistic for the specified video sequence. If 'Return Full Response' is enabled, the entire API response is returned; otherwise, only relevant data is extracted.

Query parameters 'From' and 'To' accept date strings to filter the period. The 'Top' parameter limits the number of results if applicable. Authentication method must be chosen to access the API.

Examples

Example 1: Get the average view time for a given video sequence between two dates.

Set 'Subject' to the sequence ID, 'From' and 'To' to date strings, select authentication, and leave 'Return Full Response' unchecked to get just the relevant data.

Links

Discussion