Object

LibraryPlaylistRequestTrack

An object that represents a single track when added to a library playlist in a request.

Properties

id
string
(Required)

The unique identifier for the track. This ID can be a catalog identifier or a library identifier, depending on the track type.

type
string
(Required)

The type of the track to be added. The possible values are songs, music-videos, library-songs, or library-music-videos.

See Also

Creating and Modifying User Playlists

Create a New Library Playlist

Create a new playlist in a user’s library.

Add Tracks to a Library Playlist

Add new tracks to the end of a library playlist.

Add a Resource to a Library

Add a catalog resource to a user’s iCloud Music Library.

object LibraryPlaylistCreationRequest

A request to create a new playlist in a user's library.

object LibraryPlaylistTracksRequest

A request to add tracks to a library playlist.