[openstreetmap/openstreetmap-website] API changeset download resource (PR #5721)

Anton Khorev notifications at github.com
Sat Feb 22 19:17:07 UTC 2025


Continues #5717.

Creates `download` resources on changesets instead of `download` actions.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5721

-- Commit Summary --

  * Create api changeset download resource
  * Rewrite changeset download show test

-- File Changes --

    M app/abilities/api_ability.rb (2)
    A app/controllers/api/changesets/downloads_controller.rb (61)
    M app/controllers/api/changesets_controller.rb (52)
    R app/views/api/changesets/downloads/show.xml.builder (6)
    M app/views/changesets/index.atom.builder (2)
    M app/views/changesets/show.html.erb (2)
    M config/routes.rb (5)
    A test/controllers/api/changesets/downloads_controller_test.rb (261)
    M test/controllers/api/changesets_controller_test.rb (86)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5721.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5721.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/5721 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250222/8df1a654/attachment.htm>


More information about the rails-dev mailing list