Add Favourite Albums
Add the current user as a favourite of one or more albums.
Request
PUT /favourite/v1/albums
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 | VALUE |
---|---|
ids | Required Integer Array List of the Boomplay IDs for the album. |
Responses Body
Body
code (integer) required
desc (string)
data (object)
Request Sample
PUT /favourite/v1/albums
Authorization: ${authorization}
app_id: ${app_id}
Host: openapi.boomplay.com
Content-Type: application/json
{"ids":[43949113]}
Response Example
{
"desc": null,
"code": 0,
"data": null
}