Song Requests
post
Submit a song request.
Path parameters
station_idany ofRequired
integer · int64Optional
string · stringOptional
request_idstringRequired
The requestable song ID
Responses
200
Success
application/json
403
Access denied.
application/json
404
Record not found.
application/json
500
A generic exception has occurred.
application/json
post
POST /api/station/{station_id}/request/{request_id} HTTP/1.1
Host: listen.dovafm.xyz
Accept: */*
{
"success": true,
"message": "Changes saved successfully.",
"formatted_message": "<b>Changes saved successfully.</b>"
}
get
Return a list of requestable songs.
Path parameters
station_idany ofRequired
integer · int64Optional
string · stringOptional
Responses
200
Success
application/json
403
Access denied.
application/json
404
Record not found.
application/json
500
A generic exception has occurred.
application/json
get
GET /api/station/{station_id}/requests HTTP/1.1
Host: listen.dovafm.xyz
Accept: */*
[
{
"request_id": 1,
"request_url": "/api/station/1/request/1",
"song": {
"text": "Chet Porter - Aluko River",
"artist": "Chet Porter",
"title": "Aluko River",
"album": "Moving Castle",
"genre": "Rock",
"isrc": "US28E1600021",
"lyrics": "",
"id": "9f33bbc912c19603e51be8e0987d076b",
"art": "https://picsum.photos/1200/1200",
"custom_fields": [
"custom_field_value"
]
}
}
]
Last updated