make api available under /api/