postPlaylists
Creates a new playlist
Requires authentication as user
postPlaylists
Request
post /Playlists
Parameters
| Name | In | Type | Default | Notes |
|---|---|---|---|---|
| Name | query | The name of the new playlist. |
||
| Ids | query | Item Ids to add to the playlist |
||
| MediaType | query | The playlist media type |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 | PlaylistCreationResult | Operation successful. Returning a PlaylistCreationResult object. |
|
| 400 | Bad Request. Server cannot process request. |
||
| 401 | Unauthorized. Client needs to authenticate. |
||
| 403 | Forbidden. No permission for the reqested operation. |
||
| 404 | Resource not found or unavailable. |
||
| 500 | Server error. |
Definitions
PlaylistCreationResult
| Name | Type | Notes |
|---|---|---|
| Id | string | |
| Name | string | |
| ItemAddedCount | integer (int32) |