Players

Get player config

This endpoint allows you to get the player config.

get/1/radios/players/{player_uuid}/config

Path parameters

player_uuidstring required

The universally unique identifier (UUID) of the player to request.

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": {
    "artist": "Imagine Dragon",
    "background_color": "202020",
    "button_color": "FFFFFF",
    "cover": "https://radiocover.storage5.infomaniak.com/cover/5fa592b4e019d.jpg",
    "display_name": "MyRadioPlayer",
    "height": 144,
    "history_display": "split",
    "history_hold": 20,
    "id": 1,
    "language": "fr",
    "listeners": 152,
    "listeners_hold": 152,
    "loading": "https://storage.infomaniak.com/player/my-loading.png",
    "restriction": "https://storage.infomaniak.com/player/my-restriction.png",
    "secondary_color": "0098FF",
    "title": "Radioactive",
    "thumbnail": "https://storage.infomaniak.com/player/my-thumbnail.png",
    "twitter_account": "MyAccount",
    "twitter_backlink": "my-radio.ch",
    "twitter_hashtag": "infomaniak,radio",
    "unavailable": "https://storage.infomaniak.com/player/my-unavailable.png",
    "volume": 50,
    "width": 505
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.