Examples

PUT /katello/api/content_views/64601712
{
  "content_view": {
    "component_ids": [
      998596654,
      998596655
    ]
  }
}
422
{
  "displayMessage": "Validation failed: Base Another component already includes content view with ID 405955044",
  "errors": {
    "content_view_components.base": [
      "Another component already includes content view with ID 405955044"
    ]
  }
}

Params

Param name Description
id
required

Content view identifier

Validations:

  • Must be a number.

name
optional

New name for the content view

Validations:

  • String

description
optional

Description for the content view

Validations:

  • String

repository_ids
optional

List of repository ids

Validations:

  • Must be an array of any type

component_ids
optional

List of component content view version ids for composite views

Validations:

  • Must be an array of any type

auto_publish
optional

Enable/Disable auto publish of composite view

Validations:

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

solve_dependencies
optional

Solve RPM dependencies by default on Content View publish, defaults to false

Validations:

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

import_only
optional

Designate this Content View for importing from upstream servers only. Defaults to false

Validations:

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