root api now 404s on a non resource

The root api was not strict enough before and would accept anything like `/asdf` and just return the response for `/`