Adds /api and /api/v1 endpoints