movePlaylist

Places playlists in a folder or at the root and sets their position.

OpenSubsonic version: 1

OpenSubsonic extension name playlistFolders (As returned by getOpenSubsonicExtensions)

http://your-server/rest/movePlaylist

Places playlists in the authenticated user’s playlist organization. This endpoint moves playlists into a folder or to the root and sets their position among siblings. It never modifies the playlists themselves, so it works on any playlist visible to the user, including shared, public, and readonly playlists owned by others.

Parameters

ParameterReq.OpenS.DefaultComment
playlistIdYesYesID of the playlist to place. Multiple parameters allowed; playlists are placed in the order given.
playlistFolderIdNoYesID of the destination folder. An empty value moves the playlists to the root. Omit to keep each playlist in its current location and only change its position.
sortOrderNoYesPosition among siblings, as a client-assigned integer. Multiple parameters allowed, paired in order with playlistId (as time pairs with id on scrobble). When omitted, moved playlists are placed after the existing contents of the destination.

At least one of playlistFolderId or sortOrder must be supplied; otherwise the server returns error 10. When sortOrder parameters are supplied, their count must match the number of playlistId parameters; otherwise the server returns error 10. See the extension description for ordering semantics and error handling.

Example

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
  }
}
Does not exist.