function followPlaylist
followPlaylist(
followerId: string,
playlistId: string
): void

Makes followerId follow a public playlist, and notifies its owner. Following again changes nothing. A follow outlives the playlist going private, but the feeds and lists skip it while it is.

Parameters

followerId: string
playlistId: string

Return Type

void

Throws

APIException

404 when there is no such playlist, or when it is private.

Usage

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