Examples

PUT /katello/api/products/bulk/sync
{
  "ids": [
    785257261,
    905280015
  ],
  "organization_id": 114267492,
  "validate_contents": true,
  "products_bulk_action": {
    "ids": [
      785257261,
      905280015
    ],
    "organization_id": 114267492,
    "validate_contents": true
  }
}
202
{
  "id": null,
  "label": null,
  "pending": null,
  "username": null,
  "started_at": null,
  "ended_at": null,
  "state": null,
  "result": null,
  "progress": null,
  "input": null,
  "output": {},
  "humanized": null,
  "cli_example": null,
  "available_actions": {
    "cancellable": null,
    "resumable": null
  }
}

Params

Param name Description
ids
required

List of product ids

Validations:

  • Must be an array of any type

skip_metadata_check
optional

Force sync even if no upstream changes are detected. Non-yum repositories are skipped.

Validations:

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

validate_contents
optional

Force a sync and validate the checksums of all content. Non-yum repositories (or those with On Demand download policy) are skipped.

Validations:

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