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

25 lines
488 B
Markdown

**Load Playlist**
----
Load a playlist
* **URL**
/playlist/load
* **Method:**
`GET`
* **Request Params**
**Required:**
`playlistname` - The name of the playlist
* **Success Response:**
* **Code:** 200 <br />
**Content:** `[{filepath: 'path/to/file1.mp3', metadata: ''}, {filepath: 'path/to/file2.flac', metadata: ''}]`
metadata fields are currently blank. A cache layer needs to be built before it's fast enough to lookup metadata for an entire playlists