Open changeset
- One of the main OpenStreetMap API usabilities
Opens a new changeset. In response you will receive changeset ID.
Required before creating/updating/deleting every element (node, way, relation)
You should manually close the changeset after the process, otherwise it will close automatically.
Request
Request with example body
<osm>
<changeset>
<tag k="created_by" v="JayStecki Test (via Postman)"/>
<tag k="comment" v="Open changeset for node add"/>
</changeset>
</osm>
Response
changesetID_example.xml | |
---|---|
Error codes
Errors occured when parsing the XML.
If the request is not a (HTTP) PUT request.