Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

General → Get Media Consumption

AI-generated

Summary

Retrieve media consumption details for a specified channel and media item, optionally filtered by a start date.

Inputs

  • Authentication — Choose between OAuth2 or API Key for authenticating the request.
  • Channel (required) — Specify the unique identifier of the channel to query media consumption for.
  • Media (required) — Specify the unique identifier of the media item to retrieve consumption data for.
  • Additional Query Parameters — Optionally provide a 'From' parameter, representing the begin date timestamp to filter consumption data starting from that date.
  • Return Full Response — Choose whether to return the entire API response or just the extracted consumption data.

Output shape

a JSON object containing media consumption metrics for the specified channel and media item, optionally filtered by provided parameters

If 'Return Full Response' is true, the full raw API response is returned; otherwise, only the relevant consumption data extracted from the response is provided. Errors or failures are communicated via node error handling mechanisms.

Links

Discussion