View Single Post
Old 7th November 2017, 00:14   #1
moejukebox
Junior Member
 
Join Date: Nov 2017
Posts: 2
Many GET Genres API calls return empty list

Hi, This morning (maybe over the weekend) the API calls to get Genres return a 200 response with an empty "genrelist" property.

Note: replace "{{shoutCastKey}}" with a valid shoutcast API key

Get Secondary Genres
code:
http://api.shoutcast.com/genre/secondary?parentid=0&k={{shoutCastKey}}&f=json

Returns the following:
code:
{
"response": {
"data": {
"genrelist": {}
},
"statusText": "Ok",
"statusCode": 200
}
}



Other API calls that return a 200 response with no data:
code:
http://api.shoutcast.com/genre/primary?k={{shoutCastKey}}&f=json
http://api.shoutcast.com/legacy/genrelist?k={{shoutCastKey}}
http://api.shoutcast.com/station/advancedsearch?genre_id=1&limit=10&k={{shoutCastKey}}&f=json



The last one (advanced search) takes several seconds to return a successful result of nothing... Also fails in a random android app i tried (shoutcast jukebox) and if you open the genre tab, it doesn't show anything. Tested in postman and in a live production app.

Please advise, thanks!
moejukebox is offline   Reply With Quote