    def get(self):
        """GET /api/ returns info about the Hub and its API.

        It is not an authenticated endpoint
        For now, it just returns the version of JupyterHub itself.
        """
        data = {'version': __version__}
        self.finish(json.dumps(data))
GET /api/ returns info about the Hub and its API.

It is not an authenticated endpoint
For now, it just returns the version of JupyterHub itself.
jupyterhub/apihandlers/hub.py