The ID of the playlist to add items to.
The media item or items to add.
A promise resolving to a string, typically empty on success.
Retrieves all items from the specified playlist with optional filtering and pagination.
The ID of the playlist to retrieve items from.
Optional
properties: string[]Optional list of properties to retrieve for each item.
Optional
limits: ListLimitsOptional pagination limits.
Optional
sort: ListSortOptional sorting options.
A promise resolving to a list of playlist items and pagination details.
Retrieves all existing playlists.
A promise resolving to a list of playlists.
Retrieves the values of the specified properties for a playlist.
The ID of the playlist.
The list of properties to retrieve.
A promise resolving to the requested properties and their values.
Inserts item(s) into the specified playlist at the given position.
The ID of the playlist to insert items into.
The position at which to insert the items.
The media item or items to insert.
A promise resolving to a string, typically empty on success.
Removes an item from the specified playlist at the given position.
The ID of the playlist to remove the item from.
The position of the item to remove.
A promise resolving to a string, typically empty on success.
Swaps two items within the specified playlist.
The ID of the playlist containing the items.
The position of the first item to swap.
The position of the second item to swap.
A promise resolving to a string, typically empty on success.
Adds item(s) to the specified playlist.