[openstreetmap/openstreetmap-website] The response is /changeset/:id.json endpoint is different for Ruby API and CGImap (Issue #5047)
mmd
notifications at github.com
Mon Aug 5 10:19:19 UTC 2024
It seems that both Rapid and iD aren't using the json version of the endpoint (and neither the XML version). TBC by maintainers.
* https://github.com/openstreetmap/iD/blob/develop/modules/services/osm.js
* https://github.com/facebook/Rapid/blob/main/modules/services/OsmService.js
JOSM doesn't use OSM API JSON endpoints at all, to my knowledge.
I'd prefer not to create a superset version that includes a mix of both variants. I also find the Rails version cleaner.
My proposal would be:
* Check log files for current users the JSON endpoint
* Change Apache redirect and point changeset/{n}.json endpoint to Rails instead
* Change CGImap implementation
* Change Apache config back to CGImap after deployment of new version
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5047#issuecomment-2268719410
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5047/2268719410 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240805/ff680222/attachment.htm>
More information about the rails-dev
mailing list