PUT /katello/api/content_views/419082953 { "content_view": { "repository_ids": [ "841753487" ] } } 200 { "content_host_count": 0, "composite": false, "component_ids": [], "default": false, "version_count": 1, "latest_version": "3.0", "latest_version_id": 234564707, "auto_publish": false, "solve_dependencies": false, "import_only": false, "generated_for": "none", "related_cv_count": 0, "related_composite_cvs": [], "needs_publish": null, "filtered": false, "repository_ids": [], "id": 419082953, "name": "Published Library - dev - staging view", "label": "published_dev_staging_view", "description": "A content view", "organization_id": 114267492, "organization": { "name": "Empty Organization", "label": "Empty_Organization", "id": 114267492 }, "created_at": "2023-08-23 19:55:45 UTC", "updated_at": "2023-08-23 19:55:45 UTC", "last_task": null, "latest_version_environments": [ { "id": 562075838, "name": "Library", "label": "library_label" }, { "id": 292811013, "name": "Dev", "label": "dev_label" }, { "id": 1028819239, "name": "Staging", "label": "staging_label" } ], "repositories": [], "versions": [ { "id": 234564707, "version": "3.0", "published": "2023-08-23 19:55:45 UTC", "description": null, "environment_ids": [ 562075838, 292811013, 1028819239 ], "filters_applied": null, "published_at_words": "5 minutes" } ], "components": [], "content_view_components": [], "activation_keys": [ { "id": 878475814, "name": "Lib Dev Stating Activation Key" } ], "hosts": [], "next_version": "4.0", "last_published": "2023-08-23 19:55:45 UTC", "environments": [ { "id": 562075838, "label": "library_label", "name": "Library", "activation_keys": [], "hosts": [], "permissions": { "readable": true } }, { "id": 292811013, "label": "dev_label", "name": "Dev", "activation_keys": [ 878475814 ], "hosts": [], "permissions": { "readable": true } }, { "id": 1028819239, "label": "staging_label", "name": "Staging", "activation_keys": [], "hosts": [], "permissions": { "readable": true } } ], "duplicate_repositories_to_publish": [], "errors": null }
Param name | Description |
---|---|
id
required |
Content view identifier Validations:
|
name
optional |
New name for the content view Validations:
|
description
optional |
Description for the content view Validations:
|
repository_ids
optional |
List of repository ids Validations:
|
component_ids
optional |
List of component content view version ids for composite views Validations:
|
auto_publish
optional |
Enable/Disable auto publish of composite view Validations:
|
solve_dependencies
optional |
Solve RPM dependencies by default on Content View publish, defaults to false Validations:
|
import_only
optional |
Designate this Content View for importing from upstream servers only. Defaults to false Validations:
|