getinfo

def GET_getinfo(self, path_info):
        """
        getinfo
        """
        blockstackd_url = get_blockstackd_url()
        info = blockstackd_client.getinfo(hostport=blockstackd_url)
        if json_is_error(info):
            # error
            status_code = info.get('http_status', 502)
            return self._reply_json({'error': info['error']}, status_code=status_code)

        return self._reply_json(info)