List stations
This endpoint allows you to retrieve all the stations.
Path parameters
The unique identifier (ID) of the radio product to request.
Query parameters
Optional : Allows loading additional data about a resource, which may include related resources.
The item to search
Optional : If you pass this parameter with the value total, then the response will be the number of items in the collection, instead of the items themselves.<br /> Part of the total capacity
Optional parameter that define the number of items to return<br /> Part of the offset capacity
Optional parameter that define the index of the first item to return (0 = first item)<br /> Part of the offset capacity
Optional parameter that define the page number<br /> Part of the pagination capacity
Optional parameter that define the number of items per page<br /> Part of the pagination capacity
Optional parameter that define the field used for sorting<br /> Part of the sort capacity
Optional parameter that define the default sort order<br /> Part of the sort capacity
Optional parameter that define the sorting order for a field<br /> By default order is used<br /> Part of the sort capacity
Response
OK
Example response
{
"result": "success",
"data": [
{
"id": 1,
"uuid": "b3ff3bf9-c390-4dfe-9341-5e3a5e408bc2",
"name": "MyStation",
"subdomain": "mysubdomain",
"thumbnail": "https://storage.infomaniak.com/my-thumbnail.png",
"time_daily_restart": "15:03",
"timezone_daily_restart": "Europe/Zurich",
"log_server": "my-log-server.ch",
"log_login": "MyLogin",
"log_path": "my_log_folder",
"listeners": 152,
"monthly_consumption": 1856473697,
"slipping_consumption": 1856473697,
"count_streams_up": 3,
"count_active_deal": 1,
"cluster_name": "plain",
"cluster_type": "plain",
"masters": [
{
"id": 1,
"url": "master.infomaniak.com",
"ip": "127.0.0.1",
"is_up": "true",
"cluster": {
"id": 1,
"name": "MyCluster",
"counter": 1,
"version": "1.3",
"config": {
"id": 1,
"content_master": "AnXmlConfig",
"content_edge": "AnXmlConfig",
"created_at": 1473718107,
"updated_at": 1699291082,
"deleted_at": 1482599581
},
"edges": [
{
"id": 1,
"url": "https://icecast.infomaniak.ch",
"ip": "127.0.0.1",
"created_at": 1473718107,
"updated_at": 1699291082,
"deleted_at": 1482599581
}
]
},
"created_at": 1473718107,
"updated_at": 1699291082,
"deleted_at": 1482599581
}
],
"edges": [
{
"id": 1,
"url": "https://icecast.infomaniak.ch",
"ip": "127.0.0.1",
"cluster": {
"id": 1,
"name": "MyCluster",
"counter": 1,
"version": "1.3",
"config": {
"id": 1,
"content_master": "AnXmlConfig",
"content_edge": "AnXmlConfig",
"created_at": 1473718107,
"updated_at": 1699291082,
"deleted_at": 1482599581
},
"masters": [
{
"id": 1,
"url": "master.infomaniak.com",
"ip": "127.0.0.1",
"is_up": "true",
"created_at": 1473718107,
"updated_at": 1699291082,
"deleted_at": 1482599581
}
]
},
"created_at": 1473718107,
"updated_at": 1699291082,
"deleted_at": 1482599581
}
],
"autodj": {
"id": "1",
"vod_fill_mixtape_type": "playlist",
"created_at": 1473718107,
"updated_at": 1699291082,
"deleted_at": 1482599581
},
"streams": [
{
"id": 1,
"uuid": "b3ff3bf9-c390-4dfe-9341-5e3a5e408bc2",
"mountpoint": "/my-mountpoint.mp3",
"codec": 1,
"bitrate": 128,
"url": "my-radio.infomaniak.com/my-mounpoint.mp3",
"introduction_file_url": "1250.mp3",
"server_address": "my-radio.infomaniak.com",
"relay_server": "my-radio.ch",
"relay_port": 80,
"relay_mountpoint": "/my-mountpoint.mp3",
"hash_key": "my_hash_key",
"listeners": 152,
"fallback_id": 1,
"custom_fields": "true",
"created_at": 1473718107,
"updated_at": 1699291082,
"deleted_at": 1482599581
}
],
"hls_stream": {
"midroll_occurrence": 30,
"max_time_midroll": 30,
"id": 1,
"uuid": "b3ff3bf9-c390-4dfe-9341-5e3a5e408bc2",
"name": "myHls",
"bitrates": "64,96,128",
"buffer_size": 25,
"fragment_size": 25,
"hash_key": "my_hash_key",
"url": "my-hls.infomaniak.com/my-hls/manifest.m3u8",
"listeners": 152,
"domains": "infomaniak.com,my-radio.ch",
"source_id": 1,
"source_stream": {
"id": 1,
"uuid": "b3ff3bf9-c390-4dfe-9341-5e3a5e408bc2",
"mountpoint": "/my-mountpoint.mp3",
"codec": 1,
"bitrate": 128,
"url": "my-radio.infomaniak.com/my-mounpoint.mp3",
"introduction_file_url": "1250.mp3",
"server_address": "my-radio.infomaniak.com",
"relay_server": "my-radio.ch",
"relay_port": 80,
"relay_mountpoint": "/my-mountpoint.mp3",
"hash_key": "my_hash_key",
"listeners": 152,
"fallback_id": 1,
"custom_fields": "true",
"created_at": 1473718107,
"updated_at": 1699291082,
"deleted_at": 1482599581
},
"players": [
{
"display_name": "MyRadioPlayer",
"volume": 50,
"language": "fr",
"height": 144,
"width": 505,
"button_color": "FFFFFF",
"background_color": "202020",
"secondary_color": "0098FF",
"thumbnail": "https://storage.infomaniak.com/player/my-thumbnail.png",
"listeners_hold": 100,
"twitter_account": "MyAccount",
"twitter_backlink": "my-radio.ch",
"twitter_hashtag": "infomaniak,radio",
"loading": "https://storage.infomaniak.com/player/my-loading.png",
"unavailable": "https://storage.infomaniak.com/player/my-unavailable.png",
"restriction": "https://storage.infomaniak.com/player/my-restriction.png",
"history_display": "split",
"history_hold": 20,
"id": 1,
"uuid": "b3ff3bf9-c390-4dfe-9341-5e3a5e408bc2",
"name": "Mayuri",
"type": 4,
"iframe": "<iframe src=\"my-player.infomaniak.com\" width=\"505.00px\" height=\"144.00px\" style=\"border-width:0\"></iframe>",
"domains": "infomaniak.com,my-radio.ch",
"created_at": 1473718107,
"updated_at": 1699291082
}
],
"created_at": 1473718107,
"updated_at": 1699291082,
"deleted_at": 1482599581
},
"players": [
{
"display_name": "MyRadioPlayer",
"volume": 50,
"language": "fr",
"height": 144,
"width": 505,
"button_color": "FFFFFF",
"background_color": "202020",
"secondary_color": "0098FF",
"thumbnail": "https://storage.infomaniak.com/player/my-thumbnail.png",
"listeners_hold": 100,
"twitter_account": "MyAccount",
"twitter_backlink": "my-radio.ch",
"twitter_hashtag": "infomaniak,radio",
"loading": "https://storage.infomaniak.com/player/my-loading.png",
"unavailable": "https://storage.infomaniak.com/player/my-unavailable.png",
"restriction": "https://storage.infomaniak.com/player/my-restriction.png",
"history_display": "split",
"history_hold": 20,
"id": 1,
"uuid": "b3ff3bf9-c390-4dfe-9341-5e3a5e408bc2",
"name": "Mayuri",
"type": 4,
"iframe": "<iframe src=\"my-player.infomaniak.com\" width=\"505.00px\" height=\"144.00px\" style=\"border-width:0\"></iframe>",
"domains": "infomaniak.com,my-radio.ch",
"created_at": 1473718107,
"updated_at": 1699291082
}
],
"created_at": 1473718107,
"updated_at": 1699291082,
"deleted_at": 1482599581
}
],
"total": 221,
"page": 2,
"pages": 15,
"items_per_page": 15
}Changes
No recorded changes to this endpoint across all 1 revision of this API.