Skip to main content

playlistsList

Returns recommended playlists together with the site's custom playlists, sorted case-insensitively by name, with each filter in the requested version. Custom playlists whose stored filter fails validation are omitted. Use playlistsMostRecent for the current user's usage order. Requires recordings view access.

playlistsList(
site: Int!
version: Int
): [Playlist!]!

Arguments​

playlistsList.site ● Int! non-null scalar​

Site id from sites; the site must be accessible to the current viewer.

playlistsList.version ● Int scalar​

Filter version; 2 is the only supported version and is used when omitted, null, 0, or negative. Other values return an error.

Type​

Playlist object​

Named recordings filter returned by playlistsList or savePlaylist; recommended presets have negative ids and custom site playlists have positive ids.