Sha256: 2eabef3a1787e8fcd63ae23cd9a0b162c5ce10650d4783404133ca402f3f26b5

Contents?: true

Size: 711 Bytes

Versions: 47

Compression:

Stored size: 711 Bytes

Contents

child :content_facet => :content_facet_attributes do
  extends 'katello/api/v2/content_facet/base'

  node do |content_facet|
    version = content_facet.content_view_version
    {
      :content_view_version => version.version,
      :content_view_version_id => version.id
    }
  end

  node :content_view_default? do |content_facet|
    content_facet.content_view.default?
  end

  node :lifecycle_environment_library? do |content_facet|
    content_facet.lifecycle_environment.library?
  end

  node :katello_agent_installed do |content_facet|
    content_facet.katello_agent_installed?
  end
end

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

attributes :description, :facts

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
katello-3.1.0.rc1 app/views/katello/api/v2/content_facet/show.json.rabl
katello-3.0.1 app/views/katello/api/v2/content_facet/show.json.rabl
katello-3.0.0 app/views/katello/api/v2/content_facet/show.json.rabl
katello-3.0.0.rc7 app/views/katello/api/v2/content_facet/show.json.rabl
katello-3.0.0.rc5 app/views/katello/api/v2/content_facet/show.json.rabl
katello-3.0.0.rc4 app/views/katello/api/v2/content_facet/show.json.rabl
katello-3.0.0.rc3 app/views/katello/api/v2/content_facet/show.json.rabl