Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Auto DJ > Playing Playlist → Move Media After

AI-generated

Summary

Move a media item to a new position relative to another playing media.

Inputs

  • authentication — Authentication method; OAuth2 or API Key.
  • path_radio_product_id (required) — The unique identifier (ID) of the radio product to request.
  • path_station_id (required) — The unique identifier (ID) of the station to request.
  • path_playing_media_id (required) — The playing media identifier for the target playlist.
  • body_playing_media_id (required) — Specify the playing media id to put before or after.
  • body_position (required) — Specify the position before or after playing media id to add.
  • returnFullResponse — If true, the response includes the full result object.

Output shape

no body — success/failure only

When returnFullResponse is true, additional fields may be included in the response; otherwise the operation simply returns a success indicator.

Examples

Example 1: Add a track after the currently playing media

authentication=API Key, path_radio_product_id=42, path_station_id=7, path_playing_media_id=track123, body_position=after, body_playing_media_id=track456, returnFullResponse=false

Example 2: Insert a track before a specific media in the playlist

authentication=OAuth2, path_radio_product_id=10, path_station_id=20, path_playing_media_id=media789, body_position=before, body_playing_media_id=media012, returnFullResponse=true

Links

Discussion