mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
479 B
479 B
Save Playlist
Save a playlist
-
URL
/playlist/save
-
Method:
POST -
JSON Params
Required:
title- The name of the playlist
songs- Array of filepaths to save. I recommend removing the vPath before saving -
JSON Example
{ 'title': 'New Playlist', 'songs': [ 'path/to/song1.mp3', 'path/to/song2.mp3' ] } -
Success Response:
- Code: 200
Content:{success: true}
- Code: 200