Sha256: 70cd20c68fbf31212a4404fd662f0c821b664416f7cf36cdbd0c37907679ebc9

Contents?: true

Size: 839 Bytes

Versions: 152

Compression:

Stored size: 839 Bytes

Contents

module Katello
  class Api::V2::SrpmsController < Api::V2::ApiController
    apipie_concern_subst(:a_resource => N_("SRPM details"), :resource => "srpms")
    include Katello::Concerns::Api::V2::RepositoryContentController

    api :GET, "/srpms", N_("List srpms")
    param :organization_id, :number, :desc => N_("Organization identifier")
    param :repository_id, :number, :desc => N_("Repository identifier")
    param :environment_id, :number, :desc => N_("Environment identifier")
    param :content_view_version_id, :number, :desc => N_("Content View Version identifier")
    param_group :search, Api::V2::ApiController
    def index
      super
    end

    def available_for_content_view_version(version)
      version.available_packages
    end

    def default_sort
      lambda { |query| query.default_sort }
    end
  end
end

Version data entries

152 entries across 152 versions & 1 rubygems

Version Path
katello-4.14.2 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.15.0 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.15.0.rc2 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.15.0.rc1 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.14.1 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.14.0 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.14.0.rc3 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.14.0.rc2 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.14.0.rc1.1 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.14.0.rc1 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.13.1 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.13.0 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.12.1 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.13.0.rc1 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.12.0 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.12.0.rc3 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.12.0.rc2 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.12.0.rc1 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.11.1 app/controllers/katello/api/v2/srpms_controller.rb
katello-4.11.0 app/controllers/katello/api/v2/srpms_controller.rb