Skip to main content

markPlaylistAsUsed

Records a custom or recommended playlist as used now by the current user, which moves it to the front of playlistsMostRecent; the playlist itself is unchanged. Returns true on success and an error when the playlist does not exist for the site. Requires recordings view access.

markPlaylistAsUsed(
site: Int!
playlist: Int!
): Boolean

Arguments​

markPlaylistAsUsed.site ● Int! non-null scalar​

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

markPlaylistAsUsed.playlist ● Int! non-null scalar​

Custom or recommended playlist id from playlistsList for this site; recommended ids are negative.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.