Help Wizard

Step 1

NEXT STEP

Long URIs

Solved!

Long URIs

Is there any logic as to when one needs to provide the fully qualified version of a URI (e.g. including the "spotify:track:" prefix)?

 

I've been developing Haskell bindings to the Web API, and have just found that, for example, getting a track requires the short version, whereas adding a track to a playlist requires the long version. This seems an unnecessary complication.

Reply

Accepted Solutions
Marked as solution

You can add Music Tracks and Podcast Episodes to a Playlist so requiring the URI for spotify:track and spotify:episode would be needed for that, whereas when you get a track, the item type is known

View solution in original post

2 Replies
Marked as solution

You can add Music Tracks and Podcast Episodes to a Playlist so requiring the URI for spotify:track and spotify:episode would be needed for that, whereas when you get a track, the item type is known

Ok, I see that now - I didn't look at the docs in enough detail...

Suggested posts