Changelog
V4
Changes
Breaking
- removed
/api/v2endpoint - replaced
/api/v3endpoint by/api/v4 - removed
serDesTimeMsandtotalTimeMsfields fromFetchArtistResponse - removed
fetchTimeMs, andserDesTimeMsandtotalTimeMsfield fromGetTrackResponse - removed
Unexpectederror types fromFetchArtistResponseandGetTrackResponse - replaced
NotFounderror type fromGetTrackResponseby a 404 ‘Not Found’ status code - removed
Errorresult type fromGetTrackResponse - replaced
NoDataresult type fromFetchArtistResponseby a 404 ‘Not Found’ status code
Additions
- endpoints now return 502 ‘Bad Gateway’ errors when target source’s API returns an unexpected reponse
V3
Changes
Breaking
- removed
/api/v1endpoint - removed
timeElapsedMsfield in V3 response - renamed
topContributionsfield tocontributionsin V3 request - replaced
tracksfield ofReleaseobjects inresult.data.releasesfield by atracksfield inresult.datafield containing allSimpleTrackobjects related to resulting artist in V3 response artistsfield inSimpleTrackobjects is now an array ofContributorobjects which consist of a requirednameproperty and an optionalroleproperty in V3 response- replaced
composerfield fromSimpleTrackobjects by an artist withcomposerrole in V3 response typeandyearfields ofSimpleReleaseobjects are now optional in V3 response
Additions
- added a
nameVariantsfield toArtistobjects in V3 response - added a
releaseIdoptional field toSimpleTrackobjects in V3 response - added a
otherIdsoptional field toSimpleTrackobjects in V3 response - added a
/api/v3/tracks/genius/<id>endpoint
Notes
/api/v2endpoint is deprecated but kept unchanged until V4- please refer to API reference for more information
The source code for this page can be found here.