[openstreetmap/openstreetmap-website] API active blocks list (PR #5452)
Anton Khorev
notifications at github.com
Wed Jan 1 03:18:43 UTC 2025
See https://community.openstreetmap.org/t/is-this-the-same-person/123461/30
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5452
-- Commit Summary --
* Add active blocks list api endpoint with empty response
* Skip blocks check when getting active blocks list
* Output active blocks list
-- File Changes --
M app/abilities/api_ability.rb (2)
A app/controllers/api/user_blocks/active_lists_controller.rb (23)
M app/controllers/api_controller.rb (16)
M app/views/api/user_blocks/_user_block.json.jbuilder (20)
M app/views/api/user_blocks/_user_block.xml.builder (3)
A app/views/api/user_blocks/active_lists/show.json.jbuilder (5)
A app/views/api/user_blocks/active_lists/show.xml.builder (5)
M app/views/api/user_blocks/show.json.jbuilder (4)
M config/routes.rb (3)
A test/controllers/api/user_blocks/active_lists_controller_test.rb (78)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5452.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5452.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5452
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5452 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241231/09707bc7/attachment-0001.htm>
More information about the rails-dev
mailing list