Examples

PUT /katello/api/content_view_versions/234564707/republish_repositories
{
  "content_view_version": {}
}
202
{
  "id": "7b4bdaaf-ffc9-4e0f-a573-369223541b2b",
  "label": "Actions::Katello::ContentViewVersion::RepublishRepositories",
  "pending": false,
  "action": "Republish Repositories of Published Library - dev - staging view 3.0 content view 'Published Library - dev - staging view'; organization 'Empty Organization'",
  "username": "secret_admin",
  "started_at": "2023-08-23 20:15:53 UTC",
  "ended_at": "2023-08-23 20:15:53 UTC",
  "state": "stopped",
  "result": "success",
  "progress": 1.0,
  "input": {
    "content_view": {
      "id": 419082953,
      "name": "Published Library - dev - staging view",
      "label": "published_dev_staging_view"
    },
    "organization": {
      "id": 114267492,
      "name": "Empty Organization",
      "label": "Empty_Organization"
    },
    "version_id": 234564707
  },
  "output": {},
  "humanized": {
    "action": "Republish Repositories of Published Library - dev - staging view 3.0",
    "input": [
      [
        "content_view",
        {
          "text": "content view 'Published Library - dev - staging view'",
          "link": "/content_views/419082953/versions"
        }
      ],
      [
        "organization",
        {
          "text": "organization 'Empty Organization'",
          "link": "/organizations/114267492/edit"
        }
      ]
    ],
    "output": "",
    "errors": []
  },
  "cli_example": null,
  "start_at": "2023-08-23 20:15:53 UTC",
  "available_actions": {
    "cancellable": false,
    "resumable": false
  }
}

Params

Param name Description
id
required

Content view version identifier

Validations:

  • Must be a number.

force
optional

Force metadata regeneration to proceed. Dangerous operation when version has repositories with the 'Complete Mirroring' mirroring policy

Validations:

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