[OSM-dev] API: version number of newly created objects.
Chris Browet
cbro at semperpax.com
Tue Apr 28 01:10:03 BST 2009
Hi,
I see in the api doc:
"Version numbers will most of the time begin at *1* and increase by
*1*every time an element is changed but this behaviour is not
guaranteed and
should not be relied upon"
I understand that phrase as "I cannot assume that a newly created object
will be at version 1".
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?
- Chris -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090428/b0901989/attachment.html>
More information about the dev
mailing list