Adding /api as the primary endpoint