Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (26 sloc) 1.536 kB

Playlist Service : updateTracksPosition

GET playlist/updateTracksPosition

Description

Update the tracks position in the playlist. Require playlist owner authentication except if the playlist is public and collaborative.

This method helps you bulk-reorder tracks and insert them elsewhere in the playlist. To understand the 'insert_before' parameter, imagine that you can select a bunch of tracks in a playlist and drag and drop them anywhere in the playlist.


Requires authentication

Requires a valid app_id

If you wish to reorder the tracks of a playlist that is not public and collaborative, 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 update the tracks position of.
  • playlist_track_ids - optional : Comma-separated, ordered list of playlist track IDs.
  • insert_before - required : The playlist position where to start replacing the tracks position.

Example

Request

 http://www.qobuz.com/api.json/0.2/playlist/updateTracksPosition?app_id=100000000&playlist_id=213676&playlist_track_ids=12323456,123456,234567,4567890&insert_before=1&user_auth_token=MyUsErToKeN

Return

{
    "status": "success"
}
Jump to Line
Something went wrong with that request. Please try again.