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