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
Stats > Stations → Get Mediastats
AI-generatedSummary
Fetch mediastats for Infomaniak streaming radio stations
Inputs
- authentication — Method used to authenticate with Infomaniak API (OAuth2 or API Key).
- returnFullResponse — Whether to return the complete API response instead of just the data payload.
Output shape
object containing station metadata and statistics (e.g., station_id, name, listeners, etc.)
The response may include additional fields based on the returnFullResponse setting; no pagination is indicated.
Examples
Example 1: Retrieve mediastats for a station using OAuth2 authentication
authentication: oauth2, returnFullResponse: false
Example 2: Retrieve full mediastats payload for a station using API Key authentication
authentication: apiKey, returnFullResponse: true
Example 3: List all stations' stats with default settings
authentication: oauth2, returnFullResponse: false