Sha256: 8529f0e1302a052330d8f16c21c54e4d6310ec4e6dfba2c74bf14df724574b3a

Contents?: true

Size: 816 Bytes

Versions: 41

Compression:

Stored size: 816 Bytes

Contents

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

attributes :id, :name, :description, :unlimited_hosts, :auto_attach

attributes :content_view_id

child :content_view => :content_view do
  attributes :id, :name
end

child :environment => :environment do
  attributes :name, :id
end
attributes :environment_id

attributes :usage_count, :user_id, :max_hosts, :system_template_id, :release_version

node :permissions do |activation_key|
  {
    :view_activation_keys => activation_key.readable?,
    :edit_activation_keys => activation_key.editable?,
    :destroy_activation_keys => activation_key.deletable?
  }
end

child :products => :products do |_product|
  attributes :id, :name
end

child :host_collections => :host_collections do
  attributes :id
  attributes :name
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
katello-3.12.3 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.12.2 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.12.1 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.11.2 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.10.2 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.12.0 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.12.0.rc2 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.10.1.1 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.12.0.rc1 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.10.1 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.11.1 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.11.0 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.11.0.rc2 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.11.0.rc1 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.10.0 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.10.0.rc1.1 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.9.1 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.10.0.rc1 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.9.0 app/views/katello/api/v2/activation_keys/base.json.rabl
katello-3.8.1 app/views/katello/api/v2/activation_keys/base.json.rabl