code: func (c *Client) ListLogentries(i *ListLogentriesInput) ([]*Logentries, error) {
  	if i.Service == "" {
  		return nil, ErrMissingService
  	}
  
  	if i.Version == 0 {
  		return nil, ErrMissingVersion
  	}
  
  	path := fmt.Sprintf("/service/%s/version/%d/logging/logentries", i.Service, i.Version)
  	resp, err := c.Get(path, nil)
  	if err != nil {
  		return nil, err
  	}
  
  	var ls []*Logentries
  	if err := decodeJSON(&ls, resp.Body); err != nil {
  		return nil, err
  	}
  	sort.Stable(logentriesByName(ls))
  	return ls, nil
  }
docs: // ListLogentries returns the list of logentries for the configuration version.