Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

V3 > Statistics → Get Viewers Per Encoding Statistics.

AI-generated

Summary

Retrieve viewer statistics per encoding for a specified sequence by its unique identifier, with optional filtering parameters to refine the data returned.

Inputs

  • Authentication (required) — Select the authentication method to use, either OAuth2 or API Key.
  • Subject (required) — Provide the unique identifier of the sequence to retrieve viewer statistics for.
  • Additional Query Parameters — Optionally specify additional filters such as 'By' (e.g., country), 'From' (start date/time), 'To' (end date/time), 'Per' (interval or granularity), and 'Top' (limit on number of results) to customize the statistics query.
  • Return Full Response — Toggle whether to return the full API response including metadata, or only the main data content.

Output shape

a structured JSON object containing viewer statistics per encoding for the specified sequence, optionally including full API response metadata if requested.

The returned data shape depends on the API response from Infomaniak's VOD statistics endpoint. Pagination or detailed error handling is not indicated for this operation.

Examples

Example 1: Get viewer statistics per encoding for a given sequence with date filters and top results limit.

Set 'Subject' with the sequence ID, apply 'From' and 'To' date parameters, specify 'Top' to limit results, and choose authentication method. Optionally enable full response return to access complete API metadata.

Links

Discussion