upgrade api from v3 to v4 (original) (raw)
upgrade api from v3 to v4
- 2018-05-18: renamed /reviews/ endpoint to /ratings/ Change API url for reviews to ratings #4984
- 2018-05-25: renamed rating.rating property to rating.score add api feature gates (+ reviews shim as example case) addons-server#8332
- 2018-06-05: dropped rating.title property Drop rating title #5466
- 2018-07-12: added type property to autocomplete API. This change was also backported to the v3 API. update api v3 autocomplete endpoint to include type in results #5759
2018-07-19: localised field values are always returned as objects, even if only a single language is requested. Setting a localised value with a string is removed too - it must always be an object of one or more translations. Always return (and only accept) a dict for localised fields #5757- 2018-07-18: added previews property to discovery API addons object. This change was also backported to the v3 API. Previews is missing from disco results so a static theme image can't be displayed #5783
- 2018-07-20: dropped downloads property from the collection add-ons results. Remove collection stats, downloads, votes & watchers code #5818
- 2018-08-16: added is_developer_reply property to ratings. This changed was also backported to the v3 API. Expose a new attribute is_developer_reply in Rating API results #5840
- 2018-09-13: added name and icon_url properties to the addon object in ratings. This changed was also backported to the v3 API. Add the add-on's name and icon_url to review API responses #5953
- 2018-09-27: backed out “localised field values are always returned as objects” change from 2018-07-19 from v4 API. This is intended to be temporary change while addons-frontend upgrades. On addons-dev and addons stage enviroments the previous behavior is available as api/v4dev. The v4dev api is not available on AMO production server. Add a temporary pre-v4 endpoint to ease frontend transition away from /v3/ #5999