Examples

PUT /katello/api/content_view_versions/111397700
{
  "description": "New version description.",
  "content_view_version": {}
}
200
{
  "version": "2.0",
  "major": 2,
  "minor": 0,
  "composite_content_view_ids": [],
  "published_in_composite_content_view_ids": [],
  "content_view_id": 405955044,
  "default": false,
  "description": "New version description.",
  "id": 111397700,
  "name": "Published LIbrary view 2.0",
  "created_at": "2023-08-23 19:55:45 UTC",
  "updated_at": "2023-08-23 19:55:45 UTC",
  "content_view": {
    "id": 405955044,
    "name": "Published LIbrary view",
    "label": "published_library_view",
    "generated_for": "none"
  },
  "composite_content_views": [],
  "composite_content_view_versions": [],
  "published_in_composite_content_views": [],
  "environments": [
    {
      "id": 562075838,
      "name": "Library",
      "label": "library_label",
      "publish_date": "20 minutes",
      "permissions": {
        "readable": true,
        "promotable_or_removable": true,
        "all_hosts_editable": true,
        "all_keys_editable": true
      },
      "host_count": 0,
      "activation_key_count": 0
    }
  ],
  "repositories": [
    {
      "id": 952181839,
      "name": "RHEL 6 x86_64",
      "label": "rhel_6_x86_64_label",
      "content_type": "yum",
      "library_instance_id": 103207400,
      "mirroring_policy": "mirror_content_only"
    },
    {
      "id": 129339708,
      "name": "Fedora 17 x86_64",
      "label": "fedora_17_x86_64_label",
      "content_type": "yum",
      "library_instance_id": 367202338,
      "mirroring_policy": "mirror_content_only"
    },
    {
      "id": 1067868180,
      "name": "busybox",
      "label": "busybox",
      "content_type": "docker",
      "library_instance_id": 84409059,
      "mirroring_policy": "mirror_content_only"
    }
  ],
  "last_event": {
    "user": "Admin",
    "status": "successful",
    "description": "New version description.",
    "action": "publish",
    "created_at": "2023-08-23 19:55:45 UTC",
    "updated_at": "2023-08-23 20:15:50 UTC",
    "environment": {
      "id": 562075838,
      "name": "Library"
    },
    "task": null,
    "version": "2.0",
    "publish": false,
    "version_id": 111397700,
    "triggered_by": null,
    "triggered_by_id": null
  },
  "active_history": [],
  "ansible_collection_count": 0,
  "ostree_ref_count": 0,
  "deb_count": 0,
  "docker_manifest_count": 0,
  "docker_manifest_list_count": 0,
  "docker_tag_count": 0,
  "file_count": 0,
  "python_package_count": 0,
  "rpm_count": 0,
  "modulemd_count": 0,
  "erratum_count": 0,
  "package_group_count": 0,
  "srpm_count": 0,
  "module_stream_count": 0,
  "package_count": 0,
  "component_view_count": 0,
  "ansible_collection_repository_count": 0,
  "ostree_repository_count": 0,
  "deb_repository_count": 0,
  "docker_repository_count": 1,
  "file_repository_count": 0,
  "python_repository_count": 0,
  "yum_repository_count": 2,
  "errata_counts": {
    "security": 0,
    "bugfix": 0,
    "enhancement": 0,
    "total": 0
  },
  "permissions": {
    "deletable": true
  },
  "filters_applied": null
}

Params

Param name Description
id
required

Content view version identifier

Validations:

  • Must be a number.

description
required

The description for the content view version

Validations:

  • String