Sha256: af44cfcc98ed66be8aa23f7bf176e0c995c81507422424aa6a52df299508e9d5

Contents?: true

Size: 1.43 KB

Versions: 3

Compression:

Stored size: 1.43 KB

Contents

module Katello
  class Api::V2::HostContentsController < Katello::Api::V2::ApiController
    def_param_group :content_facet_attributes do
      param :content_view_id, Integer, :desc => N_("Id of the single content view to be associated with the host.")
      param :lifecycle_environment_id, Integer, :desc => N_("Id of the single lifecycle environment to be associated with the host.")
      param :content_view_environments, Array, :desc => N_("Comma-separated list of content view environment labels to be associated with the host,"\
                                              " in the format of 'lifecycle_environment_label/content_view_label'."\
                                              " Ignored if content_view_environment_ids is specified, or if content_view_id and lifecycle_environment_id are specified."\
                                              " Requires allow_multiple_content_views setting to be on.")
      param :content_view_environment_ids, Array, :desc => N_("Array of content view environment ids to be associated with the host. Ignored if content_view_id and lifecycle_environment_id are specified. Requires allow_multiple_content_views setting to be on.")
      param :content_source_id, Integer, :desc => N_("Id of the smart proxy from which the host consumes content.")
      param :kickstart_repository_id, Integer, :desc => N_("Repository Id associated with the kickstart repo used for provisioning")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katello-4.15.0 app/controllers/katello/api/v2/host_contents_controller.rb
katello-4.15.0.rc2 app/controllers/katello/api/v2/host_contents_controller.rb
katello-4.15.0.rc1 app/controllers/katello/api/v2/host_contents_controller.rb