Actions141
- Auto DJ Actions
- Auto DJ > Events Actions
- Auto DJ > Media Actions
- Auto DJ > Playing Playlist Actions
- Auto DJ > Playlist Actions
- Encoder Events Actions
- Hls Stream Actions
- Mediapulse Actions
- Notifications Actions
- Options Actions
- Packs Actions
- Players Actions
- Radio Product Options Actions
- Radio Products Actions
- Server Events Actions
- Stations Actions
- Stats > Hls Stream Actions
- Stats > Radio Products Actions
- Stats > Stations Actions
- Get Status
- Get Instant Listeners
- Get Stats Listeners
- Get Mediastats
- Set Metadata To Station
- Get Listeners
- Get Listeners Per Minute
- Get Listeners Per Minute Per Stream
- Get Countries
- Get Countries By Continent
- Get Listeners By Stream
- Get Consumption
- Get Total Consumption
- Get Consumption By Stream
- Get Players
- Get Total Players
- Get Stats By Streams
- Export Stats
- Export Stats By Stream
- List Stats Links
- Stats > Streams Actions
- Streams Actions
- Transcodings Actions
Auto DJ > Media → Update Auto DJ Media
AI-generatedSummary
Updates an Auto DJ Media item in Infomaniak Streaming Radio.
Inputs
- authentication — Authentication method to use for the Infomaniak API, either 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_media_id (required) — The unique identifier (ID) of the media to request.
- bodyParameters — Additional fields to include in the request body for the media update.
- returnFullResponse — When true, returns the full API response; otherwise returns a simple success indication.
Output shape
a single record representing the updated media
If Return Full Response is enabled, returns the full API response; otherwise returns a generic success object.
Examples
Example 1: Add a new song to the Auto DJ playlist using OAuth2 authentication.
authentication: oauth2; path_radio_product_id: 3; path_station_id: 7; path_media_id: "song_001"; bodyParameters: {body_name: "track.mp3", body_title: "My Song", body_artists: ["Artist"], body_albums: ["Album"], body_genres: ["Pop"], body_tags: ["new"]}; returnFullResponse: false
Example 2: Update an existing media item with full response details using API Key.
authentication: apiKey; path_radio_product_id: 3; path_station_id: 7; path_media_id: "song_001"; bodyParameters: {body_name: "track.mp3", body_title: "My Song", body_artists: ["Artist"], body_albums: ["Album"]}; returnFullResponse: true
Example 3: Update media without extra fields, returning only success.
authentication: oauth2; path_radio_product_id: 3; path_station_id: 7; path_media_id: "song_001"; returnFullResponse: false