Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Standardize 'market' parameter across Web API endpoints

Standardize 'market' parameter across Web API endpoints

Many endpoints of the Spotify Web API do allow to specify a 'market' query parameter. But the usage of this parameter is not equal across all endpoints, as some endpoints explicitly require the 'market' parameter and others do not. For example, the Get a Playlist's Items endpoint does require the 'market' parameter, but for the Get an Album's Tracks endpoint the parameter is optional.

 

To simplify the Web Api I would propose to standardize the usage of the 'market' parameter across all endpoints by making the 'market' parameter optional everywhere. The endpoints that currently require, that the 'market' parameter is set, should then assume the magic value 'from_token' if the parameter is not specified. This should match the behaviour of the endpoints that currently do not require the 'market' parameter, according to my experience with the Spotify Web API.

Reply
0 Replies

Suggested posts

Staff
Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

Staff
ModeratorStaff / Moderator/ 3 years ago  in Social & Random

Type a product name