Sha256: 5ec95c5096e4fbcaaf9cc259db162b74cd4273558703e73f3788aa5f91db6096

Contents?: true

Size: 814 Bytes

Versions: 62

Compression:

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

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
katello-4.0.3 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.18.5 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.0.2.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.0.2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.18.4 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.0.1.2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.18.3.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.0.1.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.18.3 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.0.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.0.0 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.0.0.rc3.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.0.0.rc3 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.18.2.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.18.2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.17.3 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.0.0.rc2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.18.1.1 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-3.17.2 app/views/katello/api/v2/content_view_filters/show.json.rabl
katello-4.0.0.rc1 app/views/katello/api/v2/content_view_filters/show.json.rabl