Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Mediapulse → Check If Mediapulse Log File Is Already Present In Storage

AI-generated

Summary

Checks whether a Mediapulse log file for a given radio product and station exists in storage

Inputs

  • authentication — Authentication method for Infomaniak API (OAuth2 or API Key)
  • path_radio_product_id (required) — The ID of the radio product in Mediapulse
  • path_station_id (required) — The ID of the station in Mediapulse
  • query_from (required) — Start timestamp for the log search (ISO format or epoch)
  • returnFullResponse — If true, returns the full API response; otherwise returns a simple boolean

Output shape

a boolean indicating whether the log file exists (or full response when returnFullResponse=true)

When returnFullResponse is true, the complete API response is returned; otherwise only a true/false indicating presence is provided.

Examples

Example 1: Check existence of a log file for a specific radio product and station from a given start date

authentication=OAuth2, path_radio_product_id=123, path_station_id=45, query_from='2023-01-01T00:00:00Z', returnFullResponse=false

Example 2: Validate file presence using API Key and request the full API response

authentication=apiKey, path_radio_product_id=123, path_station_id=45, query_from='2023-01-01', returnFullResponse=true

Example 3: Perform a batch check for multiple stations in one call

authentication=OAuth2, path_radio_product_id=123, query_from='2023-01-01', returnFullResponse=false

Links

Discussion