Sha256: 4ce26613dee7839f16852b90d2fb49c59bda57125f052c3bd685b5b78f72f8d7

Contents?: true

Size: 795 Bytes

Versions: 4

Compression:

Stored size: 795 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
attributes :kickstart_repository_id

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

4 entries across 4 versions & 1 rubygems

Version Path
katello-3.4.5 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.4.4 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.4.2 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.4.1 app/views/katello/api/v2/content_facet/base.json.rabl