deevroman left a comment (openstreetmap/openstreetmap-website#5008)

or maybe just: `nodes?nodes=1h,2h`?

`nodes?nodes=1v-20..-10` — looks scary :) I suspect the implementation will be 
unpleasant and prone to bugs (both on the server and in the client 
application). 

I only see the power of intervals for objects with more than 100 versions. 
These are usually relations. In that case, you'll have to load either each 
version individually or via `/relations?relations=`. This doesn't seem like a 
big deal if you're working with such large relations. I'd prefer to see 
`/api/0.6/[node|way|relation]/#id/history` with more understandable `limit=` 
and `max_version=` parameters. `max_version` is also good because it is 
resistant to changes to an object by another user, unlike relative versions.

And if we also remember that we have a strange logic for displaying 404... I 
would be afraid to extend the functionality of this endpoint :)





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

Message ID: 
<openstreetmap/openstreetmap-website/issues/5008/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to