Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

V3 > Statistics → Get Playbacks Statistics.

AI-generated

Summary

Retrieve playback statistics for a specified video sequence by its unique identifier, optionally filtering results by parameters such as date range and country.

Inputs

  • Authentication (required) — Choose between OAuth2 or API Key authentication methods to authorize the request.
  • Subject (required) — Provide the unique identifier of the sequence (video) to get playback statistics for.
  • Additional Query Parameters — Optionally add filters including 'By' (e.g., country), 'From' date, 'To' date, 'Per' period unit, and 'Top' number to customize the statistics query.
  • Return Full Response — Decide whether to return the full API response (true) or only the extracted relevant data (false, default).

Output shape

a JSON object containing playback statistics corresponding to the specified sequence and query parameters

The output shape depends on the 'Return Full Response' flag: if false (default), only the parsed relevant data is returned; if true, the entire raw response from the API is returned. Query parameters are optional and can be used to refine the returned statistics, such as filtering by country or time period.

Examples

Example 1: Retrieve playback statistics for a specific sequence with a date range

Set 'Subject' to the sequence ID, define 'From' and 'To' query parameters for the date range, use OAuth2 authentication, and leave 'Return Full Response' as false.

Links

Discussion