Sha256: 3c0e6964b1d09beec0eff4e4998c6189ce900637fa8c0907a4e1ce35f75c2af2

Contents?: true

Size: 761 Bytes

Versions: 87

Compression:

Stored size: 761 Bytes

Contents

object @resource

extends 'katello/api/v2/content_view_filters/base'

child :content_view => :content_view do
  extends "katello/api/v2/content_views/base"

  child :repositories => :repositories do
    attributes :id, :name, :label, :content_type

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

    node :content_counts do |repo|
      {
        :ostree_branch => repo.ostree_branches.count,
        :docker_manifest => repo.docker_manifests.count,
        :docker_tag => repo.docker_tags.count,
        :rpm => repo.rpms.count,
        :package => repo.rpms.count,
        :package_group => repo.package_groups.count,
        :erratum => repo.errata.count,
        :puppet_module => repo.puppet_modules.count
      }
    end
  end
end

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
katello-3.13.4 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.13.3 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.13.2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.13.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.13.0 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.13.0.rc2.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.13.0.rc2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.12.3 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.12.2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.13.0.rc1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.12.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.11.2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.10.2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.12.0 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.12.0.rc2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.10.1.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.12.0.rc1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.10.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.11.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.11.0 app/views/katello/api/v2/content_view_filters/show.json.rabl