Open danieltruong opened 6 months ago
Tested on Test: Passed
Few things I noticed when testing are below;
eg: There is no site with the id=4 in Orc=6648, I was expecting a 404 instead of a 200 OK
During the stand-up today, @mark and @cameronpettit confirmed that we are not focusing on features related to "Pending" status and that can be ignored. FYI @JLWade @Dianadec
@manuji the 200 OK
response just means the API didn't run into any errors when looking for your query. It 'found' the route you asked for, it just happens that route returns an empty list. I'm not sure about the use of 404 NOT FOUND
in cases like this, I think it needs to be part of a larger discussion for API queries.
We should, however look at implementing a front end 404 page, though it is unrelated to this ticket.
Thanks @cameronpettit for the reply.
moving to done
Implementation ticket for ticket #332
Blocks ticket #395
AC: