Playlist

The Playlist class represents a playlist, which is an ordered collection of tracks.

Properties

Property Type Description
_id string Unique identifier for the playlist.
Name string Name of the playlist.
Description string Description of the playlist.
TrackCount long Number of tracks in the playlist.
Owner string Username of the playlist owner.
Editors List<string> Usernames who can edit the playlist.
Viewers List<string> Usernames who can view the playlist.
PublicViewing bool Indicates if the playlist is publicly viewable.
PublicEditing bool Indicates if the playlist is publicly editable.
ArtworkPath string File path or URL to the playlist's artwork.
Tracks List<DbLink> Tracks included in the playlist.

ResponsePlaylist

The ResponsePlaylist class is used for HTTP responses, providing a trimmed version of the playlist data suitable for client consumption.

Properties

All properties are the same as in the Playlist class, except ArtworkPath and Tracks are excluded.