Announcements

Long URIs

Solved!
Reply
Highlighted

Long URIs

Casual Listener

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution!

Re: Long URIs

Gig Goer
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
Highlighted
Solution!

Re: Long URIs

Gig Goer
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

Highlighted

Re: Long URIs

Casual Listener

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

SUGGESTED POSTS