Examples

POST /katello/api/content_views/419082953/copy
{
  "name": "My New View",
  "content_view": {
    "name": "My New View"
  }
}
201
{
  "composite": false,
  "component_ids": [],
  "default": false,
  "version_count": 0,
  "latest_version": null,
  "latest_version_id": null,
  "auto_publish": false,
  "solve_dependencies": false,
  "import_only": false,
  "generated_for": "none",
  "related_cv_count": 0,
  "related_composite_cvs": [],
  "repository_ids": [],
  "id": 1058174852,
  "name": "My New View",
  "label": "My_New_View",
  "description": "A content view",
  "organization_id": 114267492,
  "organization": {
    "name": "Empty Organization",
    "label": "Empty_Organization",
    "id": 114267492
  },
  "created_at": "2022-11-08 19:29:21 UTC",
  "updated_at": "2022-11-08 19:29:21 UTC",
  "last_task": null,
  "latest_version_environments": [],
  "repositories": [],
  "versions": [],
  "components": [],
  "content_view_components": [],
  "activation_keys": [],
  "hosts": [],
  "next_version": "1.0",
  "last_published": null,
  "environments": []
}

Params

Param name Description
id
required

Content view numeric identifier

Validations:

  • Must be a number.

name
required

New content view name

Validations:

  • String