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.

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.

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.

format
optional

Export formats. Choose syncable if content is to be imported via repository sync. Choose importable if content is to be imported via hammer content-import.

Defaults to importable.

Validations:

  • Must be one of: syncable, importable.