Sha256: cc3d578b2406f5fefd544eb837581b8ee3e31edfc08ad9f1529000ec6fe6f9d0

Contents?: true

Size: 578 Bytes

Versions: 9

Compression:

Stored size: 578 Bytes

Contents

object @resource

attributes :id, :cp_id, :name, :label, :description

extends 'katello/api/v2/common/syncable'
extends 'katello/api/v2/common/org_reference'

attributes :provider_id
attributes :sync_plan_id
attributes :sync_status
attributes :sync_summary
attributes :gpg_key_id
attributes :redhat? => :redhat

attributes :available_content => :available_content, :if => params[:include_available_content]

child :sync_plan do
  attributes :name, :description, :sync_date, :interval, :next_sync
end

node :repository_count do |product|
  product.library_repositories.count
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-2.4.5 app/views/katello/api/v2/products/base.json.rabl
katello-2.4.4 app/views/katello/api/v2/products/base.json.rabl
katello-2.4.3 app/views/katello/api/v2/products/base.json.rabl
katello-2.4.2 app/views/katello/api/v2/products/base.json.rabl
katello-2.4.1 app/views/katello/api/v2/products/base.json.rabl
katello-2.4.0 app/views/katello/api/v2/products/base.json.rabl
katello-2.4.0.rc3 app/views/katello/api/v2/products/base.json.rabl
katello-2.4.0.rc2 app/views/katello/api/v2/products/base.json.rabl
katello-2.4.0.rc1 app/views/katello/api/v2/products/base.json.rabl