Sha256: 67f8d399f9f10ca06072e4c3ed84b6d8353738ecd5637f0a8197c0692f821011

Contents?: true

Size: 923 Bytes

Versions: 11

Compression:

Stored size: 923 Bytes

Contents

object @resource

attributes :id, :name, :description, :unlimited_content_hosts, :auto_attach

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

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_content_hosts, :system_template_id, :release_version,
           :service_level, :auto_attach

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

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 :host_collections => :host_collections do
  attributes :id
  attributes :name
end

attributes :content_overrides

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
katello-2.4.5 app/views/katello/api/v2/activation_keys/show.json.rabl
katello-2.4.4 app/views/katello/api/v2/activation_keys/show.json.rabl
katello-2.4.3 app/views/katello/api/v2/activation_keys/show.json.rabl
katello-2.4.2 app/views/katello/api/v2/activation_keys/show.json.rabl
katello-3.0.0.rc1 app/views/katello/api/v2/activation_keys/show.json.rabl
katello-2.4.1 app/views/katello/api/v2/activation_keys/show.json.rabl
katello-2.4.0 app/views/katello/api/v2/activation_keys/show.json.rabl
katello-2.4.0.rc3 app/views/katello/api/v2/activation_keys/show.json.rabl
katello-2.4.0.rc2 app/views/katello/api/v2/activation_keys/show.json.rabl
katello-2.4.0.rc1 app/views/katello/api/v2/activation_keys/show.json.rabl
katello-2.2.2 app/views/katello/api/v2/activation_keys/show.json.rabl