Examples

PUT /katello/api/content_views/1058174825/content_view_components/add
{
  "components": [
    {
      "content_view_id": 909058347,
      "latest": true
    }
  ],
  "content_view_component": {}
}
200
{
  "total": 0,
  "subtotal": 0,
  "selectable": 0,
  "page": null,
  "per_page": null,
  "error": null,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": []
}

Params

Param name Description
composite_content_view_id
required

composite content view identifier

Validations:

  • Must be a number.

components
required

Array of components to add

Validations:

  • Must be an Array of nested elements

components[content_view_version_id]
optional

identifier of the version of the component content view

Validations:

  • Must be a number.

components[content_view_id]
optional

content view identifier of the component who's latest version is desired

Validations:

  • Must be a number.

components[latest]
optional

true if the latest version of the component's content view is desired

Validations:

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