[OSM-dev] PUT /api/0.6/{node|way|relation}/{id|create}

Stefan de Konink skinkie at xs4all.nl
Mon Jun 9 02:24:48 BST 2008


Hi,


I wonder why we cannot switch to:

PUT /api/0.6
{{ Payload }}


This payload contains:

<osm>
   <object withid>
   <object withoutid>
</osm>


This would mean that object that has an node/way/relation nodetag and an 
id to be updated. And an object without an id be created. In upload 
sequence an id can be returned.


The proposed change makes:
- The QUERY_STRING to be irrelevant
- The API more simple (and easier to extend)
- Reduces the amount of requests
- Assures the client always get the id back



Stefan




More information about the dev mailing list