code: func (v OpenEBSVolume) ListVolume(vname string, obj interface{}) error {
  
  	addr := os.Getenv("MAPI_ADDR")
  	if addr == "" {
  		err := errors.New("MAPI_ADDR environment variable not set")
  		glog.Errorf("Error getting mayaapi-server IP Address: %v", err)
  		return err
  	}
  	url := addr + "/latest/volumes/info/" + vname
  
  	glog.V(2).Infof("[DEBUG] Get details for Volume :%v", string(vname))
  
  	req, err := http.NewRequest("GET", url, nil)
  	c := &http.Client{
  		Timeout: timeout,
  	}
  	resp, err := c.Do(req)
  	if err != nil {
  		glog.Errorf("Error when connecting to maya-apiserver %v", err)
  		return err
  	}
  	defer resp.Body.Close()
  
  	code := resp.StatusCode
  	if code != http.StatusOK {
  		glog.Errorf("HTTP Status error from maya-apiserver: %v\n", http.StatusText(code))
  		return err
  	}
  	glog.V(2).Info("volume Details Successfully Retrieved")
  	return json.NewDecoder(resp.Body).Decode(obj)
  }
docs: // ListVolume to get the info of Vsm through a API call to m-apiserver