Serve API version list, test with an e2e test.

Have no idea if the e2e test passes. Can't get e2e test to run for me.
Should we add a roadmap item for automatic api generation pre 1.0 to force ourselves to do this right?


> On Oct 27, 2014, at 7:17 PM, bgrant0607 <notifications@github.com> wrote:
> 
> In cmd/apiserver/apiserver.go:
> 
> > @@ -206,6 +206,8 @@ func main() {
> >  	mux := http.NewServeMux()
> >  	apiserver.NewAPIGroup(m.API_v1beta1()).InstallREST(mux, *apiPrefix+"/v1beta1")
> >  	apiserver.NewAPIGroup(m.API_v1beta2()).InstallREST(mux, *apiPrefix+"/v1beta2")
> > +	versionHandler := apiserver.APIVersionHandler("v1beta1", "v1beta2")
> > +	mux.Handle("/api/versions", versionHandler)
> Does this expose a new API URL or otherwise change the API? If so, please at least update api-conventions.md.
> 
> It's getting harder and harder to reverse-engineer what endpoints are served by apiserver.
> 
> —
> Reply to this email directly or view it on GitHub.