updatePlaylist
Updates a playlist. Only the owner of a playlist is allowed to update it.
Categories:
http://your-server/rest/updatePlaylist
Since 1.8.0
Updates a playlist. Only the owner of a playlist is allowed to update it.
Parameters
Parameter | Req. | OpenS. | Default | Comment |
---|---|---|---|---|
playlistId |
Yes | The playlist ID. | ||
name |
No | The human-readable name of the playlist. | ||
comment |
No | The playlist comment. | ||
public |
No | true if the playlist should be visible to all users, false otherwise. |
||
songIdToAdd |
No | Add this song with this ID to the playlist. Multiple parameters allowed. | ||
songIndexToRemove |
No | Remove the song at this position in the playlist. Multiple parameters allowed. |
Example
http://your-server/rest/updatePlaylist.view?playlistId=123&name=test&u=demo&p=demo&v=1.13.0&c=AwesomeClientName&f=json
Result
An empty subsonic-response
element on success.
{
"subsonic-response": {
"status": "ok",
"version": "1.16.1",
"type": "AwesomeServerName",
"serverVersion": "0.1.3 (tag)",
"openSubsonic": true
}
}
{
"subsonic-response": {
"status": "ok",
"version": "1.16.1"
}
}
Last modified April 8, 2023: Simplify OpenSubsonic API (#30) (616a145)