code: func versionParams(path, numVersions string) string {
  	if numVersions == "0" {
  		numVersions = "all"
  	}
  
  	// need to optionally add numVersion args to the request
  	if len(numVersions) > 0 {
  		path = fmt.Sprintf("%s?num_versions=%s", path, numVersions)
  	}
  	return path
  }
docs: // versionParams assembles a querystring for the chef api's  num_versions
  // This is used to restrict the number of versions returned in the reponse