POST /katello/api/organizations/114267492/content_views
{
"name": "My View",
"label": "My_View",
"description": "Cool",
"import_only": true,
"content_view": {
"name": "My View",
"label": "My_View",
"description": "Cool",
"import_only": true
}
}
201
{
"content_host_count": 0,
"composite": false,
"component_ids": [],
"default": false,
"version_count": 0,
"latest_version": null,
"latest_version_id": null,
"auto_publish": false,
"solve_dependencies": false,
"import_only": true,
"generated_for": "none",
"related_cv_count": 0,
"related_composite_cvs": [],
"needs_publish": true,
"filtered": false,
"repository_ids": [],
"id": 1058174708,
"name": "My View",
"label": "My_View",
"description": "Cool",
"organization_id": 114267492,
"organization": {
"name": "Empty Organization",
"label": "Empty_Organization",
"id": 114267492
},
"created_at": "2023-08-23 20:01:08 UTC",
"updated_at": "2023-08-23 20:01:08 UTC",
"last_task": null,
"latest_version_environments": [],
"repositories": [],
"versions": [],
"components": [],
"content_view_components": [],
"activation_keys": [],
"hosts": [],
"next_version": "1.0",
"last_published": null,
"environments": [],
"duplicate_repositories_to_publish": [],
"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:
|