[openstreetmap/openstreetmap-website] Add pagination to api/0.6/user/gpx_files (Issue #3560)

mmd notifications at github.com
Fri Jun 3 13:13:01 UTC 2022


As @systemed noted in https://github.com/systemed/potlatch3/issues/34:

> Ultimately then I guess this is an openstreetmap-website issue. As best I know, the /api/0.6/user/gpx_files call doesn't support pagination.

which seems to match: https://github.com/openstreetmap/openstreetmap-website/blob/master/app/controllers/api/users_controller.rb#L53

As some users might have a pretty large number of GPX traces, downloading all metadata at once might be quite time and resource consuming. 

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

Message ID: <openstreetmap/openstreetmap-website/issues/3560 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220603/b99e0990/attachment.htm>


More information about the rails-dev mailing list