updatePlaylistFolder

Renames, moves, or reorders a playlist folder.

OpenSubsonic version: 1

OpenSubsonic extension name playlistFolders (As returned by getOpenSubsonicExtensions)

http://your-server/rest/updatePlaylistFolder

Updates a folder in the authenticated user’s playlist organization: rename it, move it under another folder or to the root, or change its position among its siblings. Playlists are moved into and out of folders with movePlaylist.

Parameters

ParameterReq.OpenS.DefaultComment
playlistFolderIdYesYesID of the playlist folder to update.
nameNoYesThe new human-readable name.
parentIdNoYesID of the new parent folder. An empty value moves the folder to the root. Omit to leave the parent unchanged.
sortOrderNoYesNew position among siblings, as a client-assigned integer.

At least one optional parameter must be supplied; otherwise the server returns error 10. A parentId that does not exist or belongs to another user’s tree returns error 70; a move that would create a cycle returns error 0. 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.