Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

General → Adds One Or Many Given Medias/folders To One Or Many Playlists.

AI-generated

Summary

Add one or multiple specified media items or folders to one or multiple playlists within an Infomaniak channel.

Inputs

  • Authentication (required) — Choose the authentication method to access the Infomaniak API, either OAuth2 or API Key.
  • Channel (path_channel) (required) — Provide a JSON object specifying the channel and the media or folders to add to playlists. This must include details identifying the playlists and the media/folder items to associate with them.
  • Return Full Response — Boolean flag indicating whether to return the API's full response object (true) or just the extracted data (false). Defaults to false.

Output shape

a single object representing the API response from adding media/folders to playlists

If 'Return Full Response' is false, the output will be the parsed relevant data from the response; if true, the complete response as returned by Infomaniak's API is provided.

Examples

Example 1: Add multiple media or folder IDs to one or more playlists in a specified channel using OAuth2 authentication.

Set Authentication to OAuth2; provide a JSON object in Channel that defines the target channel along with playlists and media/folders to add; enable or disable full response output as needed.

Links

Discussion