[openstreetmap/openstreetmap-website] The response is /changeset/:id.json endpoint is different for Ruby API and CGImap (Issue #5047)
Roman Deev
notifications at github.com
Mon Aug 5 08:41:27 UTC 2024
### URL
https://api.openstreetmap.org/api/0.6/changeset/70.json
### How to reproduce the issue?
CGImap returns in the response to /changeset/:id.json array of elements with a single element-meta information about changeset
I deployed the OSM API locally without CGImap, and the Ruby implementation immediately returns a changeset object in the response (probably based on the XML response)
----
CGImap also calls the bbox borders differently for the JSON response: minlat vs min_lat. In the case of an XML response, the results are the same.
Is this behavior worth documenting, or is it a bug that can still be fixed?
### Screenshot(s) or anything else?
<table>
<tr>
<td>
<img width="602" src="https://github.com/user-attachments/assets/179067ad-cba1-4796-a450-6bf277f2b05d">
<td>
<img width="587" src="https://github.com/user-attachments/assets/b790f115-34f5-4247-82cd-40902255d212">
</table>
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5047
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5047 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240805/88b3660e/attachment.htm>
More information about the rails-dev
mailing list