[openstreetmap/openstreetmap-website] expose the enhanced changeset stats via the API (PR #6780)
Kyℓe Hensel
notifications at github.com
Sat Feb 7 02:41:56 UTC 2026
Closes #6719
### Description
Adds 9 new properties to APIs that return changesets, for the enhanced changeset stats.
Adding this many properties is a bit clunky, but it keeps the XML format the same as the JSON format.
### How has this been tested?
unit tests and [localhost:3000](http://localhost:3000) using
- `/api/0.6/changeset/3`
- `/api/0.6/changeset/3.json`
- `/api/0.6/changesets`
- `/api/0.6/changesets.json`
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6780
-- Commit Summary --
* expose the enhanced changeset stats via the API
-- File Changes --
M app/views/api/changesets/_changeset.json.jbuilder (9)
M app/views/api/changesets/_changeset.xml.builder (11)
M test/controllers/api/changesets_controller_test.rb (18)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6780.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6780.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6780
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6780 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260206/9976861b/attachment.htm>
More information about the rails-dev
mailing list