Skip to content
Client
Server

Reference / @open-music-sdk/types / tPlaylist

Interface: tPlaylist ​

Defined in: playlist.ts:13

A resource object that represents a playlist.

Properties ​

attributes? ​

ts
optional attributes?: tPlaylistAttributes;

Defined in: playlist.ts:21

The attributes for the playlist.


href ​

ts
href: string;

Defined in: playlist.ts:19

The relative location for the playlist resource.


id ​

ts
id: string;

Defined in: playlist.ts:15

The identifier for the playlist.


relationships? ​

ts
optional relationships?: tPlaylistRelationships;

Defined in: playlist.ts:23

The relationships for the playlist.


type ​

ts
type: "playlists";

Defined in: playlist.ts:17

This value is always playlists.


views? ​

ts
optional views?: tPlaylistViews;

Defined in: playlist.ts:25

The views for associations between playlists and other resources.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.