Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

General → Get Media Consumption Per Encoding

AI-generated

Summary

Fetch media consumption statistics grouped by encoding for a specific media item within a channel, optionally filtered by date and time histogram granularity.

Inputs

  • Authentication (required) — Select authentication method: OAuth2 or API Key.
  • Channel (required) — Specify the unique identifier or name of the channel containing the media.
  • Media (required) — Specify the unique identifier or name of the media item to retrieve consumption data for.
  • Additional Query Parameters — Optional parameters to filter results: 'From' to set the beginning date timestamp, and 'Per' to group the histogram by intervals such as 1d (day), 1h (hour), or 1m (minute).
  • Return Full Response — When true, returns the complete API response including metadata; otherwise returns only the consumption data.

Output shape

a JSON object representing media consumption statistics per encoding, including possible grouping by requested interval; or the full API response if requested.

If 'Return Full Response' is true, the output includes the entire API response envelope. Otherwise, the node returns only the relevant consumption data extracted from the response. Time filtering and grouping affects the shape of the returned consumption data.

Links

Discussion