Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

V3 > Resources → Download Media Source.

AI-generated

Summary

Download a media file by its unique identifier from the Infomaniak Vod service.

Inputs

  • authentication — Choose the authentication method to use for the request, either OAuth2 or API Key.
  • path_media (required) — Provide the unique identifier of the media to download.
  • returnFullResponse — Optionally return the full HTTP response including headers instead of just the media content.

Output shape

binary file download

Returns the media file binary data for the specified media identifier. If 'Return Full Response' is enabled, returns the full HTTP response object containing the media.

Examples

Example 1: Downloading a media file with OAuth2 authentication

Set 'authentication' to 'OAuth2', provide the media ID in 'path_media', and leave 'returnFullResponse' false to get the media content directly.

Example 2: Downloading a media file using API Key and obtaining full HTTP response

Set 'authentication' to 'API Key', provide the media ID, and enable 'returnFullResponse' to receive the complete response object.

Links

Discussion