Skip to main content

PlaylistParams

Custom playlist parameters for savePlaylist; the saved filter selects matching recordings dynamically rather than storing recording ids.

input PlaylistParams {
id: Int
name: String
filter: String
}

Fields​

PlaylistParams.id ● Int scalar​

Positive custom playlist id from playlistsList for this site; omitted or null creates a playlist.

PlaylistParams.name ● String scalar​

Non-blank name, at most 255 characters; required when creating and retained when omitted on update.

PlaylistParams.filter ● String scalar​

JSON-encoded string. Envelope: {"version":2,"operator":"AND","conditions":[...]}, where operator is uppercase AND or OR and conditions is a non-empty list of nested groups or leaves. A leaf has criteria, comparison only when the criterion takes one, and value or values (plus multiple_values where required). Call recordingsCriteriaDefinition for the criteria catalog; the recordings-filter skill is the long-form reference. Required on create and update. Example: {"version":2,"operator":"AND","conditions":[{"criteria":"date_range","value":{"special":"last 30 days"}}]}

Member Of​

savePlaylist mutation