Sha256: 2b3303fb72e31a55a51be4b08f2c16405b33009d128f96fa62869b36c85cbf14

Contents?: true

Size: 688 Bytes

Versions: 174

Compression:

Stored size: 688 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, :cron_expression
end

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

Version data entries

174 entries across 174 versions & 1 rubygems

Version Path
katello-4.14.2 app/views/katello/api/v2/products/base.json.rabl
katello-4.15.0 app/views/katello/api/v2/products/base.json.rabl
katello-4.15.0.rc2 app/views/katello/api/v2/products/base.json.rabl
katello-4.15.0.rc1 app/views/katello/api/v2/products/base.json.rabl
katello-4.14.1 app/views/katello/api/v2/products/base.json.rabl
katello-4.14.0 app/views/katello/api/v2/products/base.json.rabl
katello-4.14.0.rc3 app/views/katello/api/v2/products/base.json.rabl
katello-4.14.0.rc2 app/views/katello/api/v2/products/base.json.rabl
katello-4.14.0.rc1.1 app/views/katello/api/v2/products/base.json.rabl
katello-4.14.0.rc1 app/views/katello/api/v2/products/base.json.rabl
katello-4.13.1 app/views/katello/api/v2/products/base.json.rabl
katello-4.13.0 app/views/katello/api/v2/products/base.json.rabl
katello-4.12.1 app/views/katello/api/v2/products/base.json.rabl
katello-4.13.0.rc1 app/views/katello/api/v2/products/base.json.rabl
katello-4.12.0 app/views/katello/api/v2/products/base.json.rabl
katello-4.12.0.rc3 app/views/katello/api/v2/products/base.json.rabl
katello-4.12.0.rc2 app/views/katello/api/v2/products/base.json.rabl
katello-4.12.0.rc1 app/views/katello/api/v2/products/base.json.rabl
katello-4.11.1 app/views/katello/api/v2/products/base.json.rabl
katello-4.11.0 app/views/katello/api/v2/products/base.json.rabl