[openstreetmap/openstreetmap-website] Add limit parameter to api changesets query (PR #3933)
Anton Khorev
notifications at github.com
Tue Feb 14 18:09:17 UTC 2023
Similar to notes query limit parameter.
Defaults to 100 changesets, which was the only possible value before. Max value is also 100, feel free to change it.
Use example: I need to get the latest changeset of a user. Without the limit parameter I have to download hundred changesets, although I only need one.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/3933
-- Commit Summary --
* Add limit parameter to api changesets query
-- File Changes --
M app/controllers/api/changesets_controller.rb (19)
M test/controllers/api/changesets_controller_test.rb (25)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/3933.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3933.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3933
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3933 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230214/bb45e75a/attachment.htm>
More information about the rails-dev
mailing list