Examples

PUT /katello/api/content_view_versions/incremental_update
{
  "content_view_version_environments": [
    {
      "content_view_version_id": 234564707,
      "environment_ids": [
        261162085
      ]
    }
  ],
  "add_content": {
    "errata_ids": [
      "100dividedby0"
    ],
    "resolve_dependencies": true
  },
  "content_view_version": {}
}
204

Params

Param name Description
content_view_version_environments
optional

Validations:

  • Must be an Array of nested elements

content_view_version_environments[content_view_version_id]
optional

Content View Version Ids to perform an incremental update on. May contain composites as well as one or more components to update.

Validations:

  • Must be a number.

content_view_version_environments[environment_ids]
optional

The list of environments to promote the specified Content View Version to (replacing the older version)

Validations:

  • Must be an array of any type

description
optional

The description for the new generated Content View Versions

Validations:

  • String

resolve_dependencies
optional

If true, when adding the specified errata or packages, any needed dependencies will be copied as well. Defaults to true

Validations:

  • Must be one of: true, false, 1, 0.

propagate_all_composites
optional

If true, will publish a new composite version using any specified content_view_version_id that has been promoted to a lifecycle environment

Validations:

  • Must be one of: true, false, 1, 0.

add_content
optional

Validations:

  • Hash

add_content[errata_ids]
optional

Errata ids to copy into the new versions

Validations:

  • Must be an array of any type

add_content[package_ids]
optional

Package ids to copy into the new versions

Validations:

  • Must be an array of any type

add_content[deb_ids]
optional

Deb Package ids to copy into the new versions

Validations:

  • Must be an array of any type

update_hosts
optional

After generating the incremental update, apply the changes to the specified hosts. Only Errata are supported currently.

Validations:

  • Hash

update_hosts[included]
required

Validations:

  • Hash

update_hosts[included][search]
optional , nil allowed

Search string for host to perform an action on

Validations:

  • String

update_hosts[included][ids]
optional , nil allowed

List of host ids to perform an action on

Validations:

  • Must be an array of any type

update_hosts[excluded]
optional , nil allowed

Validations:

  • Hash

update_hosts[excluded][ids]
optional , nil allowed

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type