Permalink
83af525 May 13, 2015
53 lines (37 sloc) 1.31 KB

Playlist Service : addTracks

GET playlist/addTracks

Description

Add tracks in the playlist queue. Require playlist owner authentication except if the playlist is public and collaborative.


Requires authentication

Requires a valid app_id

If you wish to add tracks to a playlist that is not public, a valid user_auth_token is required.


Parameters

  • app_id - required : Your Application ID (see Application authentication)
  • user_auth_token - optional : The authenticated user token (see User authentication)
  • playlist_id - required : The playlist ID to add the tracks to.
  • track_ids - optional : Comma-separated, ordered list of track IDs.

Example

Request

 http://www.qobuz.com/api.json/0.2/playlist/addTracks?app_id=100000000&playlist_id=923460&track_ids=24231270,24231276&user_auth_token=MyUsErToKeN

Return

{
    "id": 923460,
    "name": "testAPI",
    "description": "",
    "tracks_count": 5,
    "users_count": 0,
    "duration": 1097,
    "created_at": 1431524186,
    "updated_at": 1431524445,
    "is_public": true,
    "is_collaborative": false,
    "owner": {
        "id": 178905,
        "name": "myLogin"
    }
}