Sha256: 764f94f5734ff60eb7099a48d4440295be1eb36b122832f13de86b6f729bb57e

Contents?: true

Size: 759 Bytes

Versions: 11

Compression:

Stored size: 759 Bytes

Contents

attributes :id, :uuid
attributes :content_view_id, :content_view_name
attributes :lifecycle_environment_id, :lifecycle_environment_name
attributes :content_source_id, :content_source_name

child :content_view => :content_view do
  attributes :id, :name
end

child :lifecycle_environment => :lifecycle_environment do
  attributes :id, :name
end

child :content_source => :content_source do
  attributes :id, :name, :url
end

node :errata_counts do |content_facet|
  errata = content_facet.installable_errata
  partial('katello/api/v2/errata/counts', :object => Katello::RelationPresenter.new(errata))
end

node :applicable_package_count do |facet|
  facet.applicable_rpms.count
end

node :upgradable_package_count do |facet|
  facet.installable_rpms.count
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
katello-3.4.0.2 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.4.0.1 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.3.2 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.4.0 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.4.0.rc2 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.4.0.rc1 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.3.1.1 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.3.1 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.3.0.1 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.3.0 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.3.0.rc2 app/views/katello/api/v2/content_facet/base.json.rabl