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 → Store Auto DJ Media
AI-generatedSummary
Store a media file for an Infomaniak Auto DJ radio product using OAuth2 or API Key authentication.
Inputs
- authentication (required) — Authentication method (OAuth2 or API Key).
- path_radio_product_id (required) — ID of the radio product to which the media will be attached.
- path_station_id (required) — ID of the station where the media will be stored.
- body_name (required) — Name of the media file to store.
- bodyParameters — Additional body fields; supports 'file' (local file reference) or 'url' (public URL).
- returnFullResponse — If true, the full API response is returned; otherwise only a success indicator is returned.
Output shape
a JSON object representing the stored media entry
When returnFullResponse is false, only a success status is emitted; otherwise the complete API response is returned. Errors are propagated as n8n error nodes.
Examples
Example 1: Upload a new jingle file to a radio station
Authentication: OAuth2; Radio Product Id: 42; Station Id: 7; Name: 'jingle.mp3'; File: '/files/jingle.mp3'; Return Full Response: false
Example 2: Add an external URL as media for a station
Authentication: API Key; Radio Product Id: 15; Station Id: 3; Name: 'promo.mp3'; Url: 'https://example.com/promo.mp3'; Return Full Response: true
Example 3: Store a file from the workflow's preceding node
Authentication: OAuth2; Radio Product Id: 9; Station Id: 5; Name: 'output.mp3'; File: ${{ $node['Previous'].items[0].data.url }}; Return Full Response: false