Streamers/DJs
List all current Streamer/DJ accounts for the specified station.
Success
Station streamers (DJ accounts) allowed to broadcast to a station.
Access denied.
Record not found.
A generic exception has occurred.
GET /api/station/{station_id}/streamers HTTP/1.1
Host: listen.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
[
{
"id": 1,
"streamer_username": "dj_test",
"streamer_password": "",
"display_name": "Test DJ",
"comments": "This is a test DJ account.",
"is_active": true,
"enforce_schedule": false,
"reactivate_at": 1609480800,
"schedule_items": []
}
]
Create a new Streamer/DJ account.
Station streamers (DJ accounts) allowed to broadcast to a station.
Success
Station streamers (DJ accounts) allowed to broadcast to a station.
Access denied.
Record not found.
A generic exception has occurred.
POST /api/station/{station_id}/streamers HTTP/1.1
Host: listen.dovafm.xyz
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 215
{
"id": 1,
"streamer_username": "dj_test",
"streamer_password": "",
"display_name": "Test DJ",
"comments": "This is a test DJ account.",
"is_active": true,
"enforce_schedule": false,
"reactivate_at": 1609480800,
"schedule_items": []
}
{
"id": 1,
"streamer_username": "dj_test",
"streamer_password": "",
"display_name": "Test DJ",
"comments": "This is a test DJ account.",
"is_active": true,
"enforce_schedule": false,
"reactivate_at": 1609480800,
"schedule_items": []
}
Retrieve details for a single Streamer/DJ account.
Streamer ID
Success
Station streamers (DJ accounts) allowed to broadcast to a station.
Access denied.
Record not found.
A generic exception has occurred.
GET /api/station/{station_id}/streamer/{id} HTTP/1.1
Host: listen.dovafm.xyz
X-API-Key: YOUR_API_KEY
Accept: */*
{
"id": 1,
"streamer_username": "dj_test",
"streamer_password": "",
"display_name": "Test DJ",
"comments": "This is a test DJ account.",
"is_active": true,
"enforce_schedule": false,
"reactivate_at": 1609480800,
"schedule_items": []
}
Update details of a single Streamer/DJ account.
Streamer ID
Station streamers (DJ accounts) allowed to broadcast to a station.
Success
Access denied.
Record not found.
A generic exception has occurred.
PUT /api/station/{station_id}/streamer/{id} HTTP/1.1
Host: listen.dovafm.xyz
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 215
{
"id": 1,
"streamer_username": "dj_test",
"streamer_password": "",
"display_name": "Test DJ",
"comments": "This is a test DJ account.",
"is_active": true,
"enforce_schedule": false,
"reactivate_at": 1609480800,
"schedule_items": []
}
{
"success": true,
"message": "Changes saved successfully.",
"formatted_message": "<b>Changes saved successfully.</b>"
}
Delete a single Streamer/DJ account.
StationStreamer ID
Success
Access denied.
Record not found.
A generic exception has occurred.
DELETE /api/station/{station_id}/streamer/{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