[openstreetmap/openstreetmap-website] JSON output added to changeset(s) endpoints (PR #3495)
Tom Hughes
notifications at github.com
Sat Mar 12 11:47:38 UTC 2022
Option 1 of a single entry array appears to be in line with what we do for nodes, ways and relations? Consider https://www.openstreetmap.org/api/0.6/node/1.json which gives:
```json
{
"version": "0.6",
"generator": "CGImap 0.8.6 (225879 spike-08.openstreetmap.org)",
"copyright": "OpenStreetMap and contributors",
"attribution": "http://www.openstreetmap.org/copyright",
"license": "http://opendatacommons.org/licenses/odbl/1-0/",
"elements": [
{
"type": "node",
"id": 1,
"lat": 42.7957187,
"lon": 13.5690032,
"timestamp": "2022-02-04T18:05:40Z",
"version": 30,
"changeset": 117017136,
"user": "ilya_bohaslauchyk",
"uid": 12070073,
"tags": {
"communication:microwave": "yes",
"communication:radio": "fm",
"description": "Radio Subasio",
"frequency": "105.5 MHz",
"man_made": "mast",
"name": "Monte Piselli - San Giacomo",
"tag": "111",
"tower:construction": "lattice",
"tower:type": "communication"
}
}
]
}
```
with an single entry array of elements.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3495#issuecomment-1065868647
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3495/c1065868647 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220312/20a999bd/attachment.htm>
More information about the rails-dev
mailing list