[openstreetmap/openstreetmap-website] Remove old note api endpoints (PR #4610)

Anton Khorev notifications at github.com
Thu Mar 21 15:24:50 UTC 2024


Remove endpoints listed in #4588.

- they are undocumented
- they don't do anything that documented endpoints can't
- [nobody seems to be using them](https://github.com/openstreetmap/openstreetmap-website/issues/4588#issuecomment-2004302883)
- you can't easily move their routes inside resources because they'll overwrite path helpers of documented endpoints
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove old note api endpoints

-- File Changes --

    M config/routes.rb (6)
    M test/controllers/api/notes_controller_test.rb (21)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4610
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4610 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240321/cf4e2475/attachment.htm>


More information about the rails-dev mailing list