Tracks Owner

Reorder tracks in a playlist

put/playlists/{playlistId}/tracks/{trackId}/reorder

Request

  • Base URL: https://musicfun.it-incubator.app/api/1.0
  • URL: https://musicfun.it-incubator.app/api/1.0/playlists/{playlistId}/tracks/{trackId}/reorder
  • Auth: one of:
    • HTTP basic
    • HTTP bearer
    • HTTP bearer
    • API key in header api-key

Path parameters

playlistIdstring required
trackIdstring required

Request body

putAfterItemIdstring uuid nullable required

ID of the track after which the current track should be inserted. Send null to place the track at the beginning of the list.

Example request

{
  "putAfterItemId": "a1b2c3d4-e5f6-7890-abcd-1234567890ef"
}

Response

OK: Track order updated successfully

Changes

No recorded changes to this operation across all 1 revision of this API.