Closed oSumAtrIX closed 11 months ago
The document doesn't mark the market
parameter as required
.
If None is supplied, the request will fail with status code 404 as documented
From the document, it's by design:
Note: If neither market or user country are provided, the content is considered unavailable for the client. Users can view the country that is associated with their account in the account settings.
I could remove the option field, and mark the market as required
I understand where you are coming from. The documentation indeed treats it as optional, thus the implementation reflects the correct design.
Spotify documents that the route
/v1/shows/{id}
requires a market query parameter butget_a_show
market parameter isOption
. IfNone
is supplied, the request will fail with status code404
as documented.