Additional Information in API Failed Responses

When doing a song request via API “add-new-queue-item” you only get back the id in the response if the Post was a success. If for example, the item is already in the queue, you’ll get back a failed Post status of:

{

“message”:“That song is already in the queue”,

“status”:400

}

I think it would be beneficial to also display the id of the song that is already in the queue, that way actions can be performed on said song via the API. Is there anyone that is able to implement this into the API or provide a work-around?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.