[OSM-dev] API 0.6 - DELETE question
Karl Guggisberg
karl.guggisberg at guggis.ch
Mon May 4 17:37:46 BST 2009
Hi,
just wondering why DELETE /api/0.6/[node|way|relation]/#id isn't idempotent,
i.e.
why DELETE(primitive) where primitive.visible=false will lead to 410 Gone
instead of 200 OK?
It leads to aborted changesets, i.e.
PUT /api/0.6/changeset/#id (
DELETE node where node.visible == false on the server
)
which result in 410 Gone - not one of the defined error codes for
PUT /api/0.6/changeset/#id.
Regards
Karl
More information about the dev
mailing list