[openstreetmap/openstreetmap-website] Deprecate/Remove /api/0.6/changes endpoint (#2486)

mmd notifications at github.com
Sat Dec 28 19:53:15 UTC 2019


In #2383, @zerebubuth proposed to deprecate and remove the /api/0.6/changes endpoint.

>From his reasoning: _This API call is little-used and IMHO should be deprecated and removed._

This pull request removes controller, api_ability, route and test case for this endpoint.

/api/0.6/changes is undocumented at this time and a rather obscure and specialized feature.

One (former?) user I could identify: @iandees has an 8 years old script out there (https://gist.github.com/iandees/1271803) to remove outdated tiles in some TileStache disk cache. Not sure, if this is still in use today?


TODO: 
* Check production log to identify any remaining users of this endpoint

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/2486

-- Commit Summary --

  * Remove /api/0.6/changes endpoint

-- File Changes --

    M app/abilities/api_ability.rb (1)
    D app/controllers/api/changes_controller.rb (54)
    M config/routes.rb (2)
    D test/controllers/api/changes_controller_test.rb (106)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2486.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2486.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2486
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191228/a8cced09/attachment.html>


More information about the rails-dev mailing list