Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 473 Bytes

getFeatureHistory.md

File metadata and controls

28 lines (24 loc) · 473 Bytes

getFeatureHistory

import { getFeatureHistory } from "osm-api";

await getFeatureHistory("node", 1234);

Response:

[
  {
    "changeset": 243638,
    "id": 4305800016,
    "nodes": [4332338515, 4332338516, 4332338517, 4332338518, 4332338515],
    "tags": {
      "building": "house",
      "name:fr": "chez moi"
    },
    "timestamp": "2022-09-10T11:47:13Z",
    "type": "way",
    "uid": 12248,
    "user": "example_user",
    "version": 4
  }
]