[openstreetmap/openstreetmap-website] Allow a `/changesets` API call combining `order=oldest` and `time=` (Issue #4544)

Anton Khorev notifications at github.com
Wed Feb 28 13:34:06 UTC 2024


You can use `order` with `from` and `to` parameters instead. There is a slight difference between `from`/`to` and `time`: `from`/`to` only check when changesets were created; `time` checks for overlaps between changeset [open..closed] time spans and [T1..T2] parameter values. The latter a more complicated check that doesn't allow to use db indexes efficiently together with the reversed order.

`from`/`to` parameters are supposed to look similar to notes search api calls.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4544#issuecomment-1968994754
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/4544/1968994754 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240228/4a9114b7/attachment.htm>


More information about the rails-dev mailing list