[openstreetmap/openstreetmap-website] Restore original users index method; add search method for multi fetch (PR #4207)
Anton Khorev
notifications at github.com
Mon Aug 28 16:45:50 UTC 2023
Do this https://github.com/openstreetmap/openstreetmap-website/commit/b9c85c269726faad3c2613b37f01683c8b59f5c6#commitcomment-125595007 to avoid changing the existing api behavior.
Add a users search endpoint '/api/0.6/users/search.json?users=1,2,3' that doesn't responds with an error if some users don't exist.
Currently the `users` parameter is required, this is to be relaxed later.
Currently the results order is unspecified, this is to be specified later, probably by date.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4207
-- Commit Summary --
* Restore original users index method; add search method for multi fetch
-- File Changes --
M app/abilities/api_ability.rb (2)
M app/controllers/api/users_controller.rb (18)
M config/routes.rb (1)
M test/controllers/api/users_controller_test.rb (115)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4207.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4207.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4207
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4207 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230828/62c55b7e/attachment.htm>
More information about the rails-dev
mailing list