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/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
