TIDAL · Arazzo Workflow
TIDAL Search and Save Track to Collection
Version 1.0.0
Search for a track, confirm it, then add it to the user's collection.
Provider
Workflows
search-and-save-track
Find a track by search and save it to the user's collection.
Searches the catalog, resolves the first matched track, confirms it, and adds it to the authenticated user's collection of tracks.
1
runSearch
{$sourceDescriptions.searchApi.url}#/paths/~1searchResults~1{id}/get
Read the searchResult for the query including its tracks relationship so a matched track id is available.
2
getSearchTracks
{$sourceDescriptions.searchApi.url}#/paths/~1searchResults~1{id}~1relationships~1tracks/get
Follow the searchResult tracks relationship to obtain the first matched track identifier.
3
confirmTrack
{$sourceDescriptions.catalogApi.url}#/paths/~1tracks~1{id}/get
Confirm the matched track exists in the catalog before saving it to the user's collection.
4
saveToCollection
{$sourceDescriptions.userCollectionsApi.url}#/paths/~1userCollectionTracks~1{id}~1relationships~1items/post
Add the confirmed track to the authenticated user's userCollectionTracks items relationship, using `me` to target the caller's collection.
Source API Descriptions
openapi
openapi