mStream/docs/API/playlist_save.md
2017-03-03 12:53:52 -05:00

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}