server: moved API endpoints under /api/v1