POST /katello/api/content_views/909058347/publish
{
"minor": 1,
"content_view": {}
}
400
{
"displayMessage": "Both major and minor parameters have to be used to override a CV version",
"errors": [
"Both major and minor parameters have to be used to override a CV version"
]
}
| Param name | Description |
|---|---|
|
id required |
Content view identifier Validations:
|
|
description optional |
Description for the new published content view version Validations:
|
|
major optional |
Override the major version number Validations:
|
|
minor optional |
Override the minor version number Validations:
|
|
environment_ids optional |
Identifiers for Lifecycle Environment Validations:
|
|
is_force_promote optional |
force content view promotion and bypass lifecycle environment restriction Validations:
|
|
repos_units optional |
Specify the list of units in each repo Validations:
|
|
repos_units[label] required |
repo label Validations:
|
|
repos_units[rpm_filenames] required |
list of rpm filename strings to include in published version Validations:
|