Add Tracks to a Playlist

Add one or more tracks to a user's playlist.

Request

POST /playlist/v1/{playlist_id}/tracks

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
track_ids Required Integer Array
List of the Boomplay IDs for the tracks. Maximum: 20 IDs.
Example value: {"track_ids":[3662054,3662055]}

Responses Body

Body

code (integer) required
desc (string)
data (object)

Request Sample

GET /playlist/v1/2803768/tracks HTTP/1.1
Authorization: ${authorization}
app_id: ${app_id}
Host: openapi.boomplay.com

Response Example

{
  "desc": null,
  "code": 0,
  "data": null
}

results matching ""

    No results matching ""