Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (38 sloc) 1.487 kb

Playlist Service : create

GET playlist/create

Description

Create a playlist on behalf of the authenticated user. Return the created playlist in case of success.


Requires authentication

Requires a valid app_id and a valid user_auth_token.


Parameters

  • app_id - required : Your Application ID (see Application authentication)
  • user_auth_token - required : The authenticated user token (see User authentication)
  • name - required : Name for the playlist.
  • description - optional : Description for the playlist.
  • is_public - optional : Flag to make the playlist public.
  • is_collaborative - optional : Flag to make the playlist collaborative.
  • track_ids - optional : Initial tracks to add to the playlist.
  • album_id - optional : Initial album to add to the playlist.

Example

Request

 http://www.qobuz.com/api.json/0.2/playlist/create?app_id=100000000&name=superPlaylist&description=Fantastic&is_public=1&is_collaborative=0&user_auth_token=MyUsErToKeN

Return

{
    "id": 213677,
    "name": "superPlaylist",
    "description": "Fantastic",
    "position": null,
    "created_at": 1354016710,
    "updated_at": 1354016710,
    "is_public": true,
    "is_collaborative": false,
    "owner": {
        "id": 12345,
        "name": "loris"
    }
}
Jump to Line
Something went wrong with that request. Please try again.