[OSM-dev] Re: [OSM-talk] Strange api behaviour

Tom Carden tom at tom-carden.co.uk
Fri Mar 17 00:22:28 GMT 2006

On 3/17/06, SteveC <steve at asklater.com> wrote:
> * @ 17/03/06 12:08:02 AM tom at tom-carden.co.uk wrote:
> >
> > When the API version is removed, shouldn't it report 410 (gone, or
> > "gone and I really mean it" depending on who you ask)?
> Because gone is also used in the API :-)

But nothing in the wikified map is permanently gone... it's possible
to undelete things, right?  So 410 possibly isn't correct.  Although
there's no such thing as "temporary gone" response... hmm.

> > Also, calls where the reply format hasn't changed at all should do 301
> > (moved permanently) to the new API version? (e.g. if nodes looked the
> > same, which they don't this time because of tag format).
> ah.. now that's be cool. Don't want to be too anal but what if an old
> api call didn't map to a new one too?

410 gone.  Only forward if the new URI wouldn't break old code.


More information about the dev mailing list