code: func (e *EnvironmentService) ListCookbooks(name string, numVersions string) (data EnvironmentCookbookResult, err error) {
  	path := versionParams(fmt.Sprintf("environments/%s/cookbooks", name), numVersions)
  	err = e.client.magicRequestDecoder("GET", path, nil, &data)
  	return
  }
docs: // Get the versions of a cookbook for this environment from the Chef server.
  //
  // Chef API docs: https://docs.chef.io/api_chef_server.html#environments-name-cookbooks