Puts the dumps of a playlist that the requester can see in the order of
dumpIds, for PUT /api/playlists/:playlistId/order, and broadcasts
playlist_dumps_updated.
Parameters
playlistId: string
dumpIds: string[]
requestingUserId: string
canModerate: boolean
Return Type
void
Throws
APIException
404 when there is no such playlist, 403 when the user
is neither its owner nor a moderator, 400 when dumpIds isn't exactly the
members they can see.
Usage
import { reorderPlaylist } from "api/services/playlist-service.ts";