added /api/ namespace