Sha256: e3547990f0c35092792db6dc2ec9c3de89e3f7ae73a6b8b15ccf89676d61393c

Contents?: true

Size: 761 Bytes

Versions: 19

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
katello-4.2.2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.3.0.rc1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.2.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.2.0.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.1.4 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.2.0.1.rc3 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.2.0.1.rc2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.2.0.rc2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.1.3 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.2.0.rc1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.1.2.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.1.2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.1.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.1.0 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.1.0.rc2.2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.1.0.rc2.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.1.0.rc2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.1.0.rc1.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.1.0.rc1 app/views/katello/api/v2/content_view_filters/show.json.rabl