Don't return 415 before checking if resource exists (404)
Fix exception printing
Separate api urls and normal urls
Add /archives