fixes to paths

I understand the `/exist` bit, but then why use `/rest` instead of just `/apps`?