Sha256: 9cce7c584c5e3e28deb86b77a00c31e27cd43eed46930b33d6ef38010da83ee1

Contents?: true

Size: 707 Bytes

Versions: 67

Compression:

Stored size: 707 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|
      {
        :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,
        :module_stream => repo.module_streams.count
      }
    end
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
katello-4.14.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.14.0 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.14.0.rc3 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.14.0.rc2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.14.0.rc1.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.14.0.rc1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.13.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.13.0 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.12.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.13.0.rc1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.12.0 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.12.0.rc3 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.12.0.rc2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.12.0.rc1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.11.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.11.0 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.11.0.rc2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.11.0.rc1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.10.0 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.9.2 app/views/katello/api/v2/content_view_filters/show.json.rabl