Mount Points
Get the intro track for a mount point.
Mount Point ID
Success
No content
Access denied.
Record not found.
A generic exception has occurred.
GET /api/station/{station_id}/mount/{id}/intro HTTP/1.1
Host: listen.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
No content
Update the intro track for a mount point.
Mount Point ID
Success
Access denied.
Record not found.
A generic exception has occurred.
POST /api/station/{station_id}/mount/{id}/intro HTTP/1.1
Host: listen.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"message": "Changes saved successfully.",
"formatted_message": "<b>Changes saved successfully.</b>"
}
Removes the intro track for a mount point.
Mount Point ID
Success
Access denied.
Record not found.
A generic exception has occurred.
DELETE /api/station/{station_id}/mount/{id}/intro HTTP/1.1
Host: listen.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"message": "Changes saved successfully.",
"formatted_message": "<b>Changes saved successfully.</b>"
}
List all current mount points.
Success
Access denied.
A generic exception has occurred.
GET /api/station/{station_id}/mounts HTTP/1.1
Host: listen.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
[
{
"id": 1,
"name": "/radio.mp3",
"display_name": "128kbps MP3",
"is_visible_on_public_pages": true,
"is_default": false,
"is_public": false,
"fallback_mount": "/error.mp3",
"relay_url": "https://radio.example.com:8000/radio.mp3",
"authhash": "",
"max_listener_duration": 43200,
"enable_autodj": true,
"autodj_format": "mp3",
"autodj_bitrate": 128,
"custom_listen_url": "https://custom-listen-url.example.com/stream.mp3",
"frontend_config": [],
"listeners_unique": 10,
"listeners_total": 12
}
]
Create a new mount point.
Success
Access denied.
A generic exception has occurred.
POST /api/station/{station_id}/mounts HTTP/1.1
Host: listen.dovafm.xyz
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 456
{
"id": 1,
"name": "/radio.mp3",
"display_name": "128kbps MP3",
"is_visible_on_public_pages": true,
"is_default": false,
"is_public": false,
"fallback_mount": "/error.mp3",
"relay_url": "https://radio.example.com:8000/radio.mp3",
"authhash": "",
"max_listener_duration": 43200,
"enable_autodj": true,
"autodj_format": "mp3",
"autodj_bitrate": 128,
"custom_listen_url": "https://custom-listen-url.example.com/stream.mp3",
"frontend_config": [],
"listeners_unique": 10,
"listeners_total": 12
}
{
"id": 1,
"name": "/radio.mp3",
"display_name": "128kbps MP3",
"is_visible_on_public_pages": true,
"is_default": false,
"is_public": false,
"fallback_mount": "/error.mp3",
"relay_url": "https://radio.example.com:8000/radio.mp3",
"authhash": "",
"max_listener_duration": 43200,
"enable_autodj": true,
"autodj_format": "mp3",
"autodj_bitrate": 128,
"custom_listen_url": "https://custom-listen-url.example.com/stream.mp3",
"frontend_config": [],
"listeners_unique": 10,
"listeners_total": 12
}
Retrieve details for a single mount point.
Streamer ID
Success
Access denied.
Record not found.
A generic exception has occurred.
GET /api/station/{station_id}/mount/{id} HTTP/1.1
Host: listen.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
{
"id": 1,
"name": "/radio.mp3",
"display_name": "128kbps MP3",
"is_visible_on_public_pages": true,
"is_default": false,
"is_public": false,
"fallback_mount": "/error.mp3",
"relay_url": "https://radio.example.com:8000/radio.mp3",
"authhash": "",
"max_listener_duration": 43200,
"enable_autodj": true,
"autodj_format": "mp3",
"autodj_bitrate": 128,
"custom_listen_url": "https://custom-listen-url.example.com/stream.mp3",
"frontend_config": [],
"listeners_unique": 10,
"listeners_total": 12
}
Update details of a single mount point.
Streamer ID
Success
Access denied.
Record not found.
A generic exception has occurred.
PUT /api/station/{station_id}/mount/{id} HTTP/1.1
Host: listen.dovafm.xyz
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 456
{
"id": 1,
"name": "/radio.mp3",
"display_name": "128kbps MP3",
"is_visible_on_public_pages": true,
"is_default": false,
"is_public": false,
"fallback_mount": "/error.mp3",
"relay_url": "https://radio.example.com:8000/radio.mp3",
"authhash": "",
"max_listener_duration": 43200,
"enable_autodj": true,
"autodj_format": "mp3",
"autodj_bitrate": 128,
"custom_listen_url": "https://custom-listen-url.example.com/stream.mp3",
"frontend_config": [],
"listeners_unique": 10,
"listeners_total": 12
}
{
"success": true,
"message": "Changes saved successfully.",
"formatted_message": "<b>Changes saved successfully.</b>"
}
Delete a single mount point.
StationMount ID
Success
Access denied.
Record not found.
A generic exception has occurred.
DELETE /api/station/{station_id}/mount/{id} HTTP/1.1
Host: listen.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"message": "Changes saved successfully.",
"formatted_message": "<b>Changes saved successfully.</b>"
}
Last updated