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

Tom Hughes tom at compton.nu
Mon Jun 9 17:31:45 BST 2008


In message <484D560B.40002 at xs4all.nl>
          Stefan de Konink <skinkie at xs4all.nl> wrote:

> >>>> - Assures the client always get the id back
> >>> That is already assured by the current API definition.
> >> For 'updates' too? According to spec only an id is send after a create.
> > 
> > Well you don't need it on an update as you already know the ID.
> 
> Not if you create a changeset with updates and creates. Should the
> client maintain which object was a create and which one was an update?
> Now that sounds like making it difficult for the clients, instead of
> just returning all id's in the diff/changeset.

Unsurprising the changeset spec addresses these issues.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list