function listPublicPlaylists
listPublicPlaylists(
requestingUserId: string | null,
page: number,
limit: number,
categoryId?: string
): Page<Playlist>

Returns a page of every public playlist, in the order sort names, for GET /api/playlists, optionally only those in the playlist category categoryId. The client's /playlists page lists them. Their dumps are counted, and so ordered, for requestingUserId, null being a signed-out viewer.

Parameters

requestingUserId: string | null
page: number
limit: number
optional
categoryId: string

Return Type

Usage

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