Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Stations → Send Logs

AI-generated

Summary

Send logs for a configured radio station over a date range.

Inputs

  • authentication — Authentication method: OAuth2 or API Key.
  • path_radio_product_id (required) — Radio product ID.
  • path_station_id (required) — Station ID.
  • body_from (required) — Starting date for logs.
  • body_targets (required) — Destination targets for the log export.
  • body_to (required) — Ending date for logs.
  • returnFullResponse — If true, the full API response is returned.

Output shape

JSON object containing the log export

Response may be paginated; set returnFullResponse to true to receive the complete payload.

Examples

Example 1: Export station logs from Jan 1 to Jan 31 to email using OAuth2.

authentication: oauth2, path_radio_product_id: 123, path_station_id: 456, body_from: "2024-01-01", body_to: "2024-01-31", body_targets: {"type":"email", "to":"admin@example.com"}, returnFullResponse: false

Example 2: Send logs to S3 bucket using API Key for a specific product and station.

authentication: apiKey, path_radio_product_id: 789, path_station_id: 101, body_from: "2024-02-01", body_to: "2024-02-28", body_targets: {"type":"s3", "bucket":"logs-bucket"}, returnFullResponse: true

Example 3: Retrieve full log response for detailed debugging.

authentication: oauth2, path_radio_product_id: 112, path_station_id: 223, body_from: "2024-03-01", body_to: "2024-03-31", body_targets: {"type":"webhook"}, returnFullResponse: true

Links

Discussion