function getFollowedPlaylistsByUser
getFollowedPlaylistsByUser(
userId: string,
requestingUserId: string | null,
page: number,
limit: number
): Page<Playlist>

Returns a page of the public playlists userId follows, most recently followed first, for their profile and playlists pages. Their dumps are counted for requestingUserId, null being a signed-out viewer.

Parameters

userId: string
requestingUserId: string | null
page: number
limit: number

Return Type

Throws

APIException

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

Usage

import { getFollowedPlaylistsByUser } from "api/services/follow-service.ts";