Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Auto DJ > Playlist → Update Auto DJ Playlist

AI-generated

Summary

Update an Auto DJ playlist by specifying radio product, station, and playlist IDs along with criteria and optional fields.

Inputs

  • authentication — Authentication method; choose 'OAuth2' or 'API Key'. Defaults to OAuth2.
  • path_radio_product_id (required) — Unique identifier of the radio product to target.
  • path_station_id (required) — Unique identifier of the station to target.
  • path_playlist_id (required) — Unique identifier of the playlist to update.
  • body_criteria (required) — JSON criteria string that defines playlist update conditions.
  • bodyParameters — Additional fields for the request body, such as event name.
  • returnFullResponse — If true, the full response body is returned; otherwise only a success indicator.

Output shape

On success the operation returns the updated playlist object when returnFullResponse is true, otherwise a simple success confirmation.

The exact response depends on the returnFullResponse setting; errors are returned as standard error envelopes.

Examples

Example 1: Update a playlist with a new event title

authentication=oauth2, path_radio_product_id=12, path_station_id=5, path_playlist_id=7, body_criteria={"genre":"jazz"}, bodyParameters={name:"Summer Vibes"}, returnFullResponse=true

Links

Discussion