function getPlaylistMembershipsForDump
getPlaylistMembershipsForDump(
dumpId: string,
userId: string
): PlaylistMembership[]

Returns each of userId's playlists, newest first, and whether it holds dump dumpId, for GET /api/me/playlists?contains=. The client's add-to-playlist modal shows it.

Parameters

dumpId: string
userId: string

Return Type

Throws

APIException

500 when a row doesn't parse as a playlist.

Usage

import { getPlaylistMembershipsForDump } from "api/services/playlist-service.ts";