Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Players → Update Thumbnail

AI-generated

Summary

Updates the thumbnail of a specified player in a radio product.

Inputs

  • authentication — Authentication method (OAuth2 or API Key) to use for the request.
  • path_radio_product_id (required) — ID of the radio product whose player will be updated.
  • path_player_id (required) — ID of the player whose thumbnail will be updated.
  • body_thumbnail (required) — New thumbnail file to assign to the player.
  • body_type (required) — Type of thumbnail to change (e.g., loading, restriction, thumbnail, unavailable).
  • returnFullResponse — When true, the full response object is returned; otherwise only a success indicator.

Output shape

Success indicator (and optionally full player data)

If returnFullResponse is true, the full player response is returned; otherwise the operation returns a simple success confirmation.

Examples

Example 1: Set a new thumbnail for a player using OAuth2 authentication.

authentication=oauth2, path_radio_product_id=123, path_player_id=45, body_thumbnail=new.png, body_type=thumbnail, returnFullResponse=false

Example 2: Change player thumbnail type to restriction via API Key and get full response.

authentication=apiKey, path_radio_product_id=123, path_player_id=45, body_thumbnail=new.png, body_type=restriction, returnFullResponse=true

Example 3: Update thumbnail without specifying returnFullResponse (defaults to false).

authentication=oauth2, path_radio_product_id=123, path_player_id=45, body_thumbnail=new.png, body_type=thumbnail

Links

Discussion