AtlasOfLivingAustralia / image-service

Image repository and tiling services
https://images.ala.org.au
0 stars 17 forks source link

/ws/image/{uiud} returns 200 OK for a "not found {uuid}" #104

Closed nickdos closed 4 years ago

nickdos commented 4 years ago

Testing the GET request for an image ID that is not valid/found, e.g.,

https://images-dev.ala.org.au/ws/image/7f368d97-1809-4af9-964a-5b71fcdd15d0

returns a HTTP 200 response with JSON body:

{
    "success": false
}

I'd expect a 404 response and some sort of "image id not found message".