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

Frederik Ramm frederik at remote.org
Tue Apr 28 10:07:37 BST 2009


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.


More information about the dev mailing list