Get Playlists by IDs
Request
GET /playlist/v1/playlistIds
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 |
REQUEST PARAMETER | VALUE |
---|---|
ids | Required string A comma-separated list of the Boomplay IDs for the playlist. Maximum: 20 IDs. Example value:"123,456" |
Responses Body
Body
code (integer) required
desc (string)
data (object)playlist_id (integer) The Boomplay ID for the playlist.
playlist_title (string) The Boomplay title for the playlist.
track_count (integer) Number of tracks
privacy (string) Privacy Status Public / Private
web_url (string) web url.
mobile_url (string) mobile url.followers (integer) Number of favourites
artwork object
width (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 /playlist/v1/playlistIds HTTP/1.1
Authorization: ${authorization}
app_id: ${app_id}
Host: openapi.boomplay.com
Response Example
{
"desc": null,
"code": 0,
"data": [
{
"playlist_id": 40002667,
"playlist_title": "野花的歌单",
"track_count": 3,
"followers": 2,
"privacy": "Public",
"web_url": "https://test.boomplay.com/playlists/40002667?srModel=openapi_hb1",
"mobile_url": "https://test.boomplay.com/share/playlist/40002667?srModel=openapi_hb1",
"tracks": [
{
"track_id": 54210354,
"track_title": "BEYOND - 真的爱你",
"track_number": 1
},
{
"track_id": 54210597,
"track_title": "001 柏松 - 世间美好与你环环相扣",
"track_number": 2
},
{
"track_id": 54210598,
"track_title": "002 程响 - 世界这么大还是遇见你",
"track_number": 3
}
],
"artwork": {
"width": 464,
"height": 464,
"url": "https://testsource.boomplaymusic.com/test_group10/M00/03/11/dd9d6d18f14f40e0928cf3a65ba99c10_464_464.jpg"
}
}
]
}