TIDAL · Arazzo Workflow
TIDAL Create Playlist and Add Tracks
Version 1.0.0
Create a new playlist, then add a track to its items relationship.
Provider
Workflows
create-playlist-and-add-tracks
Create a playlist and add a track to it.
Creates a playlist, captures its id, and adds a track resource to the playlist's items relationship.
1
createPlaylist
{$sourceDescriptions.playlistsApi.url}#/paths/~1playlists/post
Create a new playlist with the supplied name, access type, and description, returning the created playlist resource.
2
addTrack
{$sourceDescriptions.playlistsApi.url}#/paths/~1playlists~1{id}~1relationships~1items/post
Add the supplied track to the new playlist's items relationship using the JSON:API relationship add operation.