Examples

POST /katello/api/content_exports/library
{
  "organization_id": 114267492,
  "destination_server": "example.com",
  "chunk_size_gb": 100,
  "content_export": {
    "organization_id": 114267492,
    "destination_server": "example.com",
    "chunk_size_gb": 100
  }
}
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
organization_id
required

Organization identifier

Validations:

  • Must be a number.

fail_on_missing_content
optional

Fails if any of the repositories belonging to this organization are unexportable. False by default.

Validations:

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

destination_server
optional

Destination Server name

Validations:

  • String

chunk_size_gb
optional

Split the exported content into archives no greater than the specified size in gigabytes.

Validations:

  • Must be a number.

format
optional

Export formats.Choose syncable if the exported content needs to be in a yum format. This option is only available for yum, file repositories. Choose importable if the importing server uses the same version and exported content needs to be one of yum, file, ansible_collection, docker repositories.

Validations:

  • Must be one of: syncable, importable.