Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

General → Returns A Media.

AI-generated

Summary

Fetches and returns media content from a specified channel and media identifier in the Infomaniak VOD service.

Inputs

  • Authentication — Choose the authentication method: OAuth2 (default) or API Key.
  • Channel (required) — Specify the channel identifier from which to retrieve the media.
  • Media (required) — Specify the media identifier to retrieve.
  • $media, New OptionsHttp($request (required) — Enter additional request options for the media retrieval HTTP request.
  • Additional Query Parameters — Optionally add extra query parameters including a 'With' parameter to customize the media retrieval request.
  • Return Full Response — Optionally return the full HTTP response instead of just the extracted media data.

Output shape

Returns the media content payload from the specified channel and media, optionally the full HTTP response object if selected.

If 'Return Full Response' is set to true, the output includes headers and status alongside the media data; otherwise, only media data is returned.

Examples

Example 1: Retrieve video media content by channel and media ID using OAuth2 authentication

Set Authentication to OAuth2, provide the channel ID, media ID, and any necessary HTTP request options or query parameters.

Links

Discussion