[openstreetmap-website] Add more parameter for changeset#query API calls (#1016)

Midgard notifications at github.com
Wed Jul 22 17:53:31 UTC 2015


Say my application needs to get *only* the oldest changeset of a given user. It would have to be able to specify parameters:
* maximum amount of returned changesets (currently API calls can take a long time because in the worst case 100 CSs are returned)
* order oldest to newest

So basically to be able to drop the `DESC` and to change the `100` in /app/controllers/changeset_controller.rb on line 222.

If there's another way to achieve this effect, please let me know.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1016
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20150722/052102ab/attachment.html>


More information about the rails-dev mailing list