[openstreetmap/openstreetmap-website] API changeset subscription resource (PR #5801)

Anton Khorev notifications at github.com
Fri Mar 14 17:15:29 UTC 2025


Similar to web changeset subscriptions https://github.com/openstreetmap/openstreetmap-website/pull/5535, but for the api.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Create api changeset subscription resource
  * Split api changeset subscription tests
  * Test legacy api changeset subscribe/unsubscribe paths
  * Test end states of api changeset subscriptions

-- File Changes --

    M app/abilities/api_ability.rb (5)
    A app/controllers/api/changeset_subscriptions_controller.rb (55)
    M app/controllers/api/changesets_controller.rb (58)
    A app/views/api/changeset_subscriptions/create.json.jbuilder (5)
    A app/views/api/changeset_subscriptions/create.xml.builder (5)
    A app/views/api/changeset_subscriptions/destroy.json.jbuilder (5)
    A app/views/api/changeset_subscriptions/destroy.xml.builder (5)
    M app/views/changesets/show.html.erb (6)
    M config/routes.rb (5)
    A test/controllers/api/changeset_subscriptions_controller_test.rb (213)
    M test/controllers/api/changesets_controller_test.rb (113)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/5801 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250314/0e6f92d8/attachment-0001.htm>


More information about the rails-dev mailing list