In message <[EMAIL PROTECTED]>
        Stefan de Konink <[EMAIL PROTECTED]> wrote:

> 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.

Well of course we could, the question is what is the benefit of
making the change and is that sufficient to outweigh the costs.

> The proposed change makes:
> - The QUERY_STRING to be irrelevant

It already is. No current API request uses QUERY_STRING.

> - The API more simple (and easier to extend)

That's debatable - the complexity is simply moved from the client
having to choose which URL to use to the server having to have
extra decoding logic.

> - Reduces the amount of requests

Why is that good?

> - Assures the client always get the id back

That is already assured by the current API definition.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to