[openstreetmap/openstreetmap-website] Add user id to api trace output (PR #4241)
Anton Khorev
notifications at github.com
Fri Sep 8 14:21:18 UTC 2023
If you look at https://wiki.openstreetmap.org/wiki/API_v0.6#Download_Metadata:_GET_/api/0.6/gpx/#id/details
you'll notice that `<gpx_file>` has the `user` attribute but doesn't have the `uid`. Everywhere else in the api (changesets, elements, notes) `user` comes together with `uid`. `uid` was missing here from [the very beginning](https://github.com/openstreetmap/openstreetmap-website/commit/01cfcbd845c5d8d33f83bb22a24cf35932da2e29#diff-49ff8e13eb2bff9ffd834dad7421f568b40186cb58b28e7eac6b3e9168ec8759R58), but it doesn't make sense to try to conceal it when the name is shown.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4241
-- Commit Summary --
* Add user id to api trace output
-- File Changes --
M app/views/api/traces/_trace.builder (1)
M test/controllers/api/traces_controller_test.rb (1)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4241.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4241.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4241
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4241 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230908/0fa403ba/attachment.htm>
More information about the rails-dev
mailing list