Sha256: b47eb5d7dc184763e8243e8db78cb46cbc58832a1efbe4b376c257ec90677621
Contents?: true
Size: 1.78 KB
Versions: 29
Compression:
Stored size: 1.78 KB
Contents
extends 'katello/api/v2/common/identifier' extends 'katello/api/v2/common/org_reference' attributes :composite attributes :repository_ids attributes :component_ids attributes :default attributes :next_version node :last_published do |content_view| unless content_view.versions.empty? content_view.versions.last.created_at end end child :environments => :environments do attributes :id, :name, :label node :permissions do |env| { :readable => env.readable? } end end if @object.composite? child :component_repositories => :repositories do attributes :id, :name, :label, :content_type end else child :repositories => :repositories do attributes :id, :name, :label, :content_type end end child :puppet_modules => :puppet_modules do attributes :id, :name, :author, :uuid attributes :created_at attributes :updated_at end child :versions => :versions do attributes :id, :version attributes :created_at => :published attributes :environment_ids end node :permissions do |cv| { :view_content_views => cv.readable?, :edit_content_views => cv.editable?, :destroy_content_views => cv.deletable?, :publish_content_views => cv.publishable?, :promote_or_remove_content_views => cv.promotable_or_removable? } end child :components => :components do attributes :id, :name, :label, :content_view_id, :version, :puppet_module_count child :environments => :environments do attributes :id, :name, :label end child :content_view => :content_view do attributes :id, :name, :label, :description, :next_version end child :archived_repos => :repositories do attributes :id, :name, :label, :description end end child :activation_keys => :activation_keys do attributes :id, :name end extends 'katello/api/v2/common/timestamps'
Version data entries
29 entries across 29 versions & 1 rubygems