Announcements

Help Wizard

Step 1

NEXT STEP

[Web API issue] Playlist object has inconsistencies w.r.t. API documentation

[Web API issue] Playlist object has inconsistencies w.r.t. API documentation

The playlist object does not follow the format specified in the API documentation.

 

The playlist object is defined here:

https://developer.spotify.com/documentation/web-api/reference/#/operations/get-playlist


At least, the following endpoints are affected by several inconsistencies when returning playlist objects:
- GET /users/{userId}/playlists

- GET /playlists/{playlistId}

- GET /search

- POST /users/{userId}/playlists

- GET /me/playlists

 

These are the inconsistencies that I found:

- Playlists have a property primary_color, which is not even mentioned in the documentation.

- Playlists images have a height and width. These properties are sometimes null, but this scenario is not mentioned in the documentation.


Several test reports revealing these issues are available at the following URLs:
http://apitesting.ddns.net/fse2022/restest/target/allure-reports/spotify_Playlists__r_rt_custom/#beh...

http://apitesting.ddns.net/fse2022/restest/target/allure-reports/spotify_Playlists__r_rt_custom/#beh...

http://apitesting.ddns.net/fse2022/restest/target/allure-reports/spotify_Playlists__r_rt_custom/#beh...

http://apitesting.ddns.net/fse2022/restest/target/allure-reports/spotify_Playlists__r_rt_custom/#beh...

http://apitesting.ddns.net/fse2022/restest/target/allure-reports/spotify_Playlists__r_rt_custom/#beh...

http://apitesting.ddns.net/fse2022/restest/target/allure-reports/spotify_Playlists__rw_rt_stateful/#...

http://apitesting.ddns.net/fse2022/restest/target/allure-reports/spotify_Playlists__rw_rt_stateful/#...

http://apitesting.ddns.net/fse2022/restest/target/allure-reports/spotify_Playlists__rw_rt_stateful/#...

Reply
0 Replies

Suggested posts