Examples

POST /katello/api/content_views/419082953/copy
{
  "name": "My New View",
  "content_view": {
    "name": "My New View"
  }
}
201
{
  "composite": false,
  "component_ids": [],
  "duplicate_repositories_to_publish": [],
  "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": [],
  "needs_publish": true,
  "filtered": false,
  "repository_ids": [],
  "id": 1058174663,
  "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": "2024-02-22 18:28:43 UTC",
  "updated_at": "2024-02-22 18:28:43 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