Add a /files/id/<name> route to get a fid
Add api tests and check the status code of the response