Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Notifications → Update Notification

AI-generated

Summary

Update a radio notification via Infomaniak API

Inputs

  • authentication — Authentication method (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.
  • body_end_hour — Specify the last hour of the day to receive notification.
  • body_is_enabled — Specify if the notification is enabled.
  • body_is_friday — Specify if the notification can be sent on Friday.
  • body_is_mail — Specify if the notification will be sent by mail.
  • body_is_saturday — Specify if the notification can be sent on Saturday.
  • body_is_sunday — Specify if the notification can be sent on Sunday.
  • body_is_thursday — Specify if the notification can be sent on Thursday.
  • body_is_tuesday — Specify if the notification can be sent on Tuesday.
  • body_is_wednesday — Specify if the notification can be sent on Wednesday.
  • body_start_hour — Specify the begin hour of the day to receive notification.
  • body_users — Specify the list of account ids that will receive the notification.
  • returnFullResponse — Return the full response body.

Output shape

a JSON object containing the updated notification details on success

Response is a 200 OK with the updated notification object; errors return appropriate error envelopes.

Examples

Example 1: Update a notification using API Key authentication

authentication=apiKey; path_radio_product_id=12345; path_station_id='station_987'; body_is_enabled=true; body_is_mail=true; returnFullResponse=true

Links

Discussion