Examples

POST /katello/api/repositories/841753487/sync
{
  "repository": {}
}
204

Params

Param name Description
id
required

repository ID

Validations:

  • Must be a number.

source_url
optional

temporarily override feed URL for sync

Validations:

  • String

incremental
optional

perform an incremental import

Validations:

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

skip_metadata_check
optional

Force sync even if no upstream changes are detected. Only used with yum or deb repositories.

Validations:

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

validate_contents
optional

Force a sync and validate the checksums of all content. Only used with yum repositories.

Validations:

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