Get User's Favourite Playlists
Add the current user as a favourite of one or more albums.
Request
GET /favourite/v1/playlists
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 ) |
Responses Body
Body
code (integer) required
desc (string)
counts (integer) count of data
data (object)playlist_id (integer) The Boomplay ID for the playlist.
playlist_title (string) The Boomplay title for the playlist.
privacy (string) Privacy Status Public / Private
web_url (string) web url.
mobile_url (string) mobile url.
artwork objectwidth (integer) image width
height (integer) image height
url (string) coverartists (array of objects)
artist_id (integer) The Boomplay ID for the artist.
artist_name (string) The Boomplay name for the artis
Request Sample
GET /favourite/v1/playlists
Authorization: ${authorization}
app_id: ${app_id}
Host: openapi.boomplay.com
Response Example
{
"desc": null,
"code": 0,
"counts": 5,
"data": [
{
"playlist_id": 1045,
"playlist_title": "Christian & Gospel",
"privacy": "Public",
"web_url": "https://test.boomplay.com/playlists/1045?srModel=openapi_hb1",
"mobile_url": "https://test.boomplay.com/share/playlist/1045?srModel=openapi_hb1"
},
{
"playlist_id": 30148722,
"playlist_title": "download_test",
"privacy": "Public",
"web_url": "https://test.boomplay.com/playlists/30148722?srModel=openapi_hb1",
"mobile_url": "https://test.boomplay.com/share/playlist/30148722?srModel=openapi_hb1",
"artwork": {
"width": 464,
"height": 464,
"url": "https://testsource.boomplaymusic.com/test_group10/M00/11/12/9983333cb0f34aed9f264716590e87a2_464_464.jpg"
}
},
...
]
}