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

/tracks/ids documentation doesn't match the JSON response

/tracks/ids documentation doesn't match the JSON response

I don't know if this is the correct way to report a bug, I am sorry.

 

When I submit a GET request to /tracks/ids, I receive the following output:

   "artists": [
        {
          "external_urls": {
            "spotify": "https://open.spotify.com/artist/0k17h0D3J5VfsdmQ1iZtE9"
          },
          "href": "https://api.spotify.com/v1/artists/0k17h0D3J5VfsdmQ1iZtE9",
          "id": "0k17h0D3J5VfsdmQ1iZtE9",
          "name": "Pink Floyd",
          "type": "artist",
          "uri": "spotify:artist:0k17h0D3J5VfsdmQ1iZtE9"
        }
      ],

 

Meanwhile, the documentation defines the JSON response as:

 

"artists": [
        {
          "external_urls": {
            "spotify": "string"
          },
          "followers": {
            "href": "string",
            "total": 0
          },
          "genres": [
            "Prog rock",
            "Grunge"
          ],
          "href": "string",
          "id": "string",
          "images": [
            {
              "url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
              "height": 300,
              "width": 300
            }
          ],
          "name": "string",
          "popularity": 0,
          "type": "artist",
          "uri": "string"
        }
      ]

As you can see, there aren't genres and popularity fields, is this a problem due to documentation updating or from the Spotify API JSON response? In case, can we have an easy way to retrieves the genres of an artist in relation to its ID? Thank you

 

Reply
0 Replies

Suggested posts