[openstreetmap/openstreetmap-website] Remove node/way/relation Search API (#2412)

Andy Allan notifications at github.com
Wed Oct 23 09:51:26 UTC 2019


This API clearly shows its age, having never been fully implemented and simply returning 100 ways (or 2000 relations) at random matching the provided tags.

I'm sad to see this go, since it's my favourite part of the API, given its obvious age, lack of functionality, arbitrary limits and so on. As I said in #2228 I would normally fight tooth and nail against making backwards-incompatible changes to the API without bumping the version (or doing some well-publicised deprecation and removal) but, in this case, I don't really think the additional effort is worth it.

If anyone can show this API is useful, or is actually being used, please speak up!
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove node/way/relation Search API

-- File Changes --

    M app/abilities/api_ability.rb (1)
    D app/controllers/api/search_controller.rb (101)
    M config/routes.rb (5)
    D test/controllers/api/search_controller_test.rb (108)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2412.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2412.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/2412
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191023/5e91f993/attachment.html>


More information about the rails-dev mailing list