[OSM-dev] API: version number of newly created objects.

Chris Browet cbro at semperpax.com
Tue Apr 28 10:12:30 BST 2009


- Chris -

2009/4/28 Frederik Ramm <frederik at remote.org>

> Hi,
> Chris Browet wrote:
>> As a creation PUT do not return the version number (AFAIK), does that mean
>> that we are suppose to do a "GET" on the newly created object to get the
>> version number?
> No, that would be the stupidest API. I have fixed the Wiki page. Assume new
> versions to always be "1". If this ever gets changed in the API then the
> creation call will have to be changed to return the version number as well.
> Bye
> Frederik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090428/5aba5f69/attachment.html>

More information about the dev mailing list