aboutsummaryrefslogtreecommitdiff
path: root/subsonic-site/src/main/webapp/api-createPlaylist.jsp
blob: dd39f0cdcfd2ad97e11ea5b7806c95dc817a363c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<h2 class="div"><a name="createPlaylist"></a>createPlaylist</h2>

<p>
    <code>http://your-server/rest/createPlaylist.view</code>
    <br>Since <a href="#versions">1.2.0</a>
</p>

<p>
    Creates (or updates) a playlist.
</p>
<table width="100%" class="bottomspace">
    <tr>
        <th class="param-heading">Parameter</th>
        <th class="param-heading">Required</th>
        <th class="param-heading">Default</th>
        <th class="param-heading">Comment</th>
    </tr>
    <tr class="table-altrow">
        <td><code>playlistId</code></td>
        <td>Yes (if updating)</td>
        <td></td>
        <td>The playlist ID.</td>
    </tr>
    <tr>
        <td><code>name</code></td>
        <td>Yes (if creating)</td>
        <td></td>
        <td>The human-readable name of the playlist.</td>
    </tr>
    <tr class="table-altrow">
        <td><code>songId</code></td>
        <td>Yes</td>
        <td></td>
        <td>ID of a song in the playlist. Use one <code>songId</code> parameter for each song in the playlist.</td>
    </tr>
</table>
<p>
    Returns an empty <code>&lt;subsonic-response&gt;</code> element on success.
</p>