Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

General → Get Channel Viewers Per Encoding Share

AI-generated

Summary

Retrieve the number of viewers per encoding share for a specific channel in Infomaniak VOD.

Inputs

  • authentication (required) — Choose the authentication method: OAuth2 or API Key.
  • path_channel (required) — Specify the channel identifier to retrieve viewers data for.
  • queryParameters — Optional additional query parameters, such as 'From' timestamp to filter data from a specific date.
  • returnFullResponse — Boolean to determine if the full API response should be returned instead of just the data payload.

Output shape

a JSON object containing viewers per encoding share data for the specified channel, or the full API response if requested

The returned data may include multiple viewer counts broken down by encoding share. If 'Return Full Response' is enabled, the entire API response including metadata is returned. Errors are handled according to node standards.

Examples

Example 1: Get viewers per encoding share for channel 'myChannel123' starting from a specific date

Set 'authentication' to OAuth2, 'path_channel' to 'myChannel123', provide a 'From' timestamp in 'queryParameters', and leave 'returnFullResponse' false to get just the relevant data.

Links

Discussion