code: func NewPlatformHandler(b *APIBackend) *PlatformHandler {
  	h := NewAuthenticationHandler()
  	h.Handler = NewAPIHandler(b)
  	h.AuthorizationService = b.AuthorizationService
  	h.SessionService = b.SessionService
  
  	h.RegisterNoAuthRoute("GET", "/api/v2")
  	h.RegisterNoAuthRoute("POST", "/api/v2/signin")
  	h.RegisterNoAuthRoute("POST", "/api/v2/signout")
  	h.RegisterNoAuthRoute("POST", "/api/v2/setup")
  	h.RegisterNoAuthRoute("GET", "/api/v2/setup")
  
  	assetHandler := NewAssetHandler()
  	assetHandler.DeveloperMode = b.DeveloperMode
  
  	return &PlatformHandler{
  		AssetHandler: assetHandler,
  		APIHandler:   h,
  	}
  }
docs: // NewPlatformHandler returns a platform handler that serves the API and associated assets.