Removed most of apps/api/ (bug 999103)