Sha256: 3ee94a2fb35a565788eb20558cf90fc9ecadad92f5e932d0d8b5f11177d34e6b

Contents?: true

Size: 670 Bytes

Versions: 7

Compression:

Stored size: 670 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_summary
attributes :gpg_key_id
attributes :ssl_ca_cert_id
attributes :ssl_client_cert_id
attributes :ssl_client_key_id

child({:available_content => :available_content}, :if => params[:include_available_content]) do
  extends "katello/api/v2/products/product_content"
end

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
katello-3.10.0 app/views/katello/api/v2/products/base.json.rabl
katello-3.10.0.rc1.1 app/views/katello/api/v2/products/base.json.rabl
katello-3.9.1 app/views/katello/api/v2/products/base.json.rabl
katello-3.10.0.rc1 app/views/katello/api/v2/products/base.json.rabl
katello-3.9.0 app/views/katello/api/v2/products/base.json.rabl
katello-3.9.0.rc2 app/views/katello/api/v2/products/base.json.rabl
katello-3.9.0.rc1 app/views/katello/api/v2/products/base.json.rabl