Logo

Docs

Playlists

Playlist Models

Playlist resource shape.

Playlist

interface Playlist extends Resource {
  type: "playlist";
  attributes: {
    name: string;
    trackCount: number;
    curatorName?: string;
    artworkUrl?: string;
    description?: string;
  };
  relationships?: {
    tracks?: List<Song>;
  };
}

On this page