Skip to main content
PUT
/
smart-playlists
/
{id}
Update a smart playlist
curl --request PUT \
  --url http://localhost:6063/smart-playlists/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "rules": {
    "operator": "AND",
    "rules": [
      {
        "field": "<string>",
        "op": "<string>",
        "value": "<unknown>"
      }
    ],
    "sort": {
      "field": "<string>",
      "dir": "asc"
    },
    "limit": 123
  },
  "description": "<string>",
  "image": "<string>",
  "folder_id": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://rockboxzig.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required

Body

application/json
name
string
required
rules
object
required

Smart-playlist rule set. See crates/playlists/src/rules.rs for the canonical definition.

description
string
image
string
folder_id
string

Response

Updated