Change a Playlist Details
Change a playlist's details (The user must, of course, own the playlist.)
Request
PUT /playlist/v1/{playlist_id}
Parameter
HEADER PARAMETER | VALUE |
---|---|
Content-Type | Required Set to application/json |
Accept-Language | Such as zh-CN,en-US... default en |
app_id | Required The app ID provided to you by Boomplay when you register your application. |
Authorization | Required Access Token (The access token from ImplicitGrant or RefreshToken ) |
REQUEST PARAMETER | required | VALUE |
---|---|---|
name | false | Required String New Playlist name. |
description | false | Required string New description of playlist. |
privacy | false | Required string Public/Private. |
- Note: Submit at least one of the above fields
Responses Body
Update playlist name response
Body
code (integer) required
desc (string)
data (object)
Request Sample
PUT /playlist/v1/2803768/tracks HTTP/1.1
Authorization: ${authorization}
app_id: ${app_id}
Host: openapi.boomplay.com
Content-Type: application/json
{"name":"new name"}
Response Example
{
"desc": null,
"code": 0,
"data": null
}