app/views/katello/api/v2/repository_sets/show.json.rabl in katello-3.5.2 vs app/views/katello/api/v2/repository_sets/show.json.rabl in katello-3.6.0.rc1

- old
+ new

@@ -1,19 +1,31 @@ object @resource @resource ||= @object glue :content do - extends 'katello/api/v2/common/identifier' - attributes :type, :updated, :vendor, :gpgUrl, :contentUrl, :label + node do |content| + { + id: content.cp_content_id, + name: content.name, + label: content.label, + vendor: content.vendor, + type: content.content_type, + gpgUrl: content.gpg_url, + contentUrl: content.content_url + } + end + + attributes :name, :vendor, :label end attribute :enabled if @resource.product child :product => :product do attributes :id, :name end end child @resource.repositories => :repositories do - attributes :id, :name + attributes :id, :name, :arch + attributes :minor => :releasever end