GET /katello/api/content_exports 200 { "total": 2, "subtotal": 2, "selectable": 2, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": "id", "order": "asc" }, "results": [ { "destination_server": "lovely.example.com", "path": "/tmp/lovely", "id": 581409183, "metadata": {}, "type": "incremental", "created_at": "2023-08-23 19:55:45 UTC", "updated_at": "2023-08-23 19:55:45 UTC", "content_view_version": "Published LIbrary view 1.0", "content_view_version_id": 531274492 }, { "destination_server": "perfect.example.com", "path": "/tmp/perfect", "id": 624072441, "metadata": {}, "type": "complete", "created_at": "2023-08-23 19:55:45 UTC", "updated_at": "2023-08-23 19:55:45 UTC", "content_view_version": "Published LIbrary view 1.0", "content_view_version_id": 531274492 } ] }
Param name | Description |
---|---|
content_view_version_id
optional |
Content view version identifier Validations:
|
content_view_id
optional |
Content view identifier Validations:
|
destination_server
optional |
Destination Server name Validations:
|
organization_id
optional |
Organization identifier Validations:
|
id
optional |
Content view version export history identifier Validations:
|
type
optional |
Export Types Validations:
|
search
optional |
Search string Validations:
|
page
optional |
Page number, starting at 1 Validations:
|
per_page
optional |
Number of results per page to return Validations:
|
order
optional |
Sort field and order, eg. 'id DESC' Validations:
|
full_result
optional |
Whether or not to show all results Validations:
|
sort_by
optional |
Field to sort the results on Validations:
|
sort_order
optional |
How to order the sorted results (e.g. ASC for ascending) Validations:
|
Field name | Type | Possible values |
---|---|---|
content_view_id | integer | |
content_view_version_id | integer | |
id | integer | |
type | string |
POST /katello/api/content_exports/version { "id": 234564707, "destination_server": "example.com", "chunk_size_gb": 100, "fail_on_missing_content": true, "content_export": { "id": 234564707, "destination_server": "example.com", "chunk_size_gb": 100, "fail_on_missing_content": 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 } }
Param name | Description |
---|---|
id
required |
Content view version identifier Validations:
|
fail_on_missing_content
optional |
Fails if any of the repositories belonging to this version are unexportable. False by default. Validations:
|
destination_server
optional |
Destination Server name Validations:
|
chunk_size_gb
optional |
Split the exported content into archives no greater than the specified size in gigabytes. Validations:
|
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:
|
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 } }
Param name | Description |
---|---|
organization_id
required |
Organization identifier Validations:
|
fail_on_missing_content
optional |
Fails if any of the repositories belonging to this organization are unexportable. False by default. Validations:
|
destination_server
optional |
Destination Server name Validations:
|
chunk_size_gb
optional |
Split the exported content into archives no greater than the specified size in gigabytes. Validations:
|
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:
|
Param name | Description |
---|---|
id
required |
Repository identifier Validations:
|
chunk_size_gb
optional |
Split the exported content into archives no greater than the specified size in gigabytes. Validations:
|
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:
|