[openstreetmap/openstreetmap-website] Use where instead of find to prevent 404 (b9c85c2)

Anton Khorev notifications at github.com
Sat Aug 26 16:05:09 UTC 2023


I'm saying that doing api 0.7 just for user multifetches without 404s is not a good idea and a new api version is not just a number. Keeping one `api/users#index` method in addition to `/api/0.6/users/search` is going to be easier than keeping api 0.6 together with api 0.7.

`search` endpoint later can be extended for date ranges, like other search endpoints. Then the old endpoint can be declared deprecated and api 0.7 will have it dropped.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/commit/b9c85c269726faad3c2613b37f01683c8b59f5c6#commitcomment-125596941
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/commit/b9c85c269726faad3c2613b37f01683c8b59f5c6/125596941 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230826/3932b7ae/attachment.htm>


More information about the rails-dev mailing list