Hello, Community!
Last week I implemented history call to retrieve all old versions of an element, version call to retrieve a specific version of the element and added possibility to specify version number for element in multi fetch call, i.e.:
-
GET /api/0.6/[node way relation]/#id/history -
GET /api/0.6/[node way relation]/#id/#version -
GET /api/0.6/[nodes ways relations]?#parameters (added optional version number)
Request examples:
- node 21265449 history
- way 4823378 history
- relation 123924 history
- node id=21265449 version=4
- way id=4823378 version=30
- relation id=123924 version=217
- nodes 26047550 version 28, 26047555 version 22
- ways 4903994, 4904157 version 7, 4904160 version 3
- relations 1148410 version 51, 1155947 version 6, 1155950
Unfortunately, current and history tables contains the same data, so currently it’s not possible to get all element’s history or some old version of element.
Next week I will implement relations for element and ways for node calls. So I will finish all read-only elements calls.
Discussion