POST /katello/api/organizations/114267492/content_views { "name": "My View", "label": "My_View", "description": "Cool", "solve_dependencies": true, "content_view": { "name": "My View", "label": "My_View", "description": "Cool", "solve_dependencies": true } } 201 { "content_host_count": 0, "needs_publish": true, "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": true, "import_only": false, "generated_for": "none", "related_cv_count": 0, "related_composite_cvs": [], "filtered": false, "repository_ids": [], "id": 1058174981, "name": "My View", "label": "My_View", "description": "Cool", "organization_id": 114267492, "organization": { "name": "Empty Organization", "label": "Empty_Organization", "id": 114267492 }, "created_at": "2024-05-23 20:12:45 UTC", "updated_at": "2024-05-23 20:12:45 UTC", "last_task": null, "latest_version_environments": [], "repositories": [], "versions": [], "components": [], "content_view_components": [], "activation_keys": [], "hosts": [], "next_version": "1.0", "last_published": null, "environments": [], "errors": null }
Param name | Description |
---|---|
organization_id
required |
Organization identifier Validations:
|
name
required |
Name of the content view Validations:
|
label
optional |
Content view label Validations:
|
composite
optional |
Composite 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:
|