Objects

Playlist

A Playlist.

Fields

approvedFor LibraryItemApprovalConnection

Deprecated: EXPERIMENTAL

The scopes this playlist is approved for in the library of libraryOwner, ordered by scope id. Only approvals in effect are listed. Empty when the playlist is not in the library.

  • after String — Return the approvals after this cursor.
  • first Int! — Maximum number of approvals to return. A larger value than 100 returns 100.
  • libraryOwner ID! — Owner ID of the library.
browseCategories [BrowseCategory]
can PlaylistPermissions!

Which permissions the current viewer has on the playlist.

composer PlaylistComposer

The composer responsible for a playlist. May include metadata relevant to the composer.

composerType String!

The name of the composer responsible for a playlist. Examples: manual, recipe-composer.

createdAt Date!

When the playlist was created. A date-time with time-zone in the ISO-8601 format.

curated Boolean

true if this playlist is curated by a curator, false otherwise.

curator Curator

The curator of the playlist.

description String!

A longer description of the playlist. Not set for all composers.

display Display

How to present the playlist visually.

dmcaCompliant Boolean
  • allowExplicit Boolean!
  • markets [IsoCountry!] — `ISO 3166-1` country codes to evaluate against. Playlist tracks that are not available in every provided market are excluded from the compliance check. When omitted, availability is not considered.
genres PlaylistGenresConnection

The main genres of the playlist's tracks. Only available on some centrally curated playlists.

  • after String — The cursor after which to fetch the next set of paginated nodes
  • before String — The cursor before which to fetch the next set of paginated nodes
  • first Int — The number of paginated nodes to fetch
  • last Int — The number of paginated nodes to fetch
id ID!
inLibrary Boolean

Whether this playlist is in the library of owner. null when that could not be determined, with the reason in errors.

  • owner ID! — Owner ID of the library.
inMusicLibrary Boolean

true if this playlist is in the specified music library or false if not.

  • library ID!
libraryTags [LibraryItemTag!]

Deprecated: EXPERIMENTAL

library item tags

name String!

The name of the playlist. Manually or automatically set depending on composer.

permissions [PlaylistPermission!]

The permissions associated with this playlist.

presentAs PlaylistPresentAs!

How this playlist should be presented. Examples: station, playlist.

presentation Presentation

Deprecated: Replaced by `display`.

presets Presets!

How the playlist should be played back by default.

shortDescription String!

A short description of the playlist used where the UI space is tight. Not set for all composers.

similarPlaylists SimilarPlaylistConnection

Find other playlists similar to this one.

  • after String
  • before String
  • first Int — How many playlists to return, at most 100. Defaults to 10 when neither `first` nor `last` is given.
  • includeClones Boolean
  • last Int — How many playlists to return before `before`, which `last` requires.
snapshot String!

The snapshot is an opaque version of the playlist that will change on every update. Include on mutations to avoid overwriting unseen changes.

trackStatistics TrackStatistics

Statistics calculated from the tracks of this playlist.

tracks PlaylistTracksConnection

The tracks of the playlist.

  • after String — The cursor after which to fetch the next set of paginated nodes
  • country String
  • first Int — The number of paginated nodes to fetch
  • market IsoCountry — If provided it will return tracks suitable for playback in the particular market.
type PlaylistType!

Deprecated: Replaced by `presentAs`.

updatedAt Date!

The Date when a playlist was updated.

Interfaces

Assignable, Displayable, Node