PUT /sound_playlists/:id

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/sound_playlists/:id

Update Playlist by id.

Updates an existing playlist's name, description, or playback order_type, and can replace its sound files and their play order via sound_file_ids. Only the attributes you include are changed.

Params

Param name Description
name
Optional Blank value allowed

Name

  • Must be a String

description
Optional Blank value allowed

Description

  • Must be a String

order_type
Optional Blank value allowed

How sound files in this playlist are picked for playback. One of sortable_order, random, or round_robin.

  • Must be one of: sortable_order, random, round_robin.

use_predefined_playlist
Optional Blank value allowed

When true, this playlist plays a built-in Trackdrive playlist instead of its own uploaded sound files.

  • Must be a boolean value: 1, true, yes, on, 0, false, no, off

predefined_playlist_id
Optional Blank value allowed

The built-in Trackdrive playlist played when use_predefined_playlist is true.

  • Must be an 8-bit integer ID or a 128-bit UUID reference to an object on Trackdrive. Example ID: 289302820, Example UUID: 924c37d5-e70f-42ad-84c2-e85eb0c1bc21

sound_file_ids
Optional Blank value allowed

The Sound Files in this playlist, in playback order.