Opened 11 years ago

Last modified 9 years ago

#1975 new enhancement

Provide Error Header for 404 in Multi Fetch

Reported by: guggis Owned by: rails-dev@…
Priority: minor Milestone: OSM 0.6
Component: api Version:
Keywords: api Cc: karl.guggisberg@…


Provide an error header including the ID of the missing node in a 404 response of a Multi Fetch.

  • if 9999999 was an unknown id on the server the.api and you invoked http://the.api/api/0.6/nodes?nodes=1,2,3,9999999
  • then reply with 404 and include an error header No node with id 9999999 found

Suggested pattern for error header:

No <type> with id <id> found

Change History (1)

comment:1 Changed 9 years ago by Tom Hughes

Owner: changed from Tom Hughes to rails-dev@…
Note: See TracTickets for help on using tickets.