setRating

http://your-server/rest/setRating.view
Since 1.6.0

Sets the rating for a music file.

Parameter Required Default Comment
id Yes A string which uniquely identifies the file (song) or folder (album/artist) to rate.
rating Yes The rating between 1 and 5 (inclusive), or 0 to remove the rating.

Returns an empty <subsonic-response> element on success.