GET /katello/api/content_imports 204
Param name | Description |
---|---|
content_view_version_id optional |
Content view version identifier Validations:
|
content_view_id optional |
Content view identifier Validations:
|
organization_id optional |
Organization identifier Validations:
|
id optional |
Content view version import history identifier Validations:
|
type optional |
Import 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_imports/version { "organization_id": 114267492, "path": "/tmp", "metadata": { "organization": "org name", "products": { "label": { "name": "product name", "label": "label" } }, "gpg_keys": { "foo": { "label": "lol" } }, "repositories": { "repo name": { "name": "root repo name", "label": "root_label", "product": { "label": "label" }, "redhat": true } }, "toc": "toc file name", "content_view": { "name": "cv name", "label": "cv label" }, "content_view_version": { "major": "4", "minor": "5" } }, "content_import": { "organization_id": 114267492, "path": "/tmp", "metadata": { "organization": "org name", "products": { "label": { "name": "product name", "label": "label" } }, "gpg_keys": { "foo": { "label": "lol" } }, "repositories": { "repo name": { "name": "root repo name", "label": "root_label", "product": { "label": "label" }, "redhat": true } }, "toc": "toc file name", "content_view": { "name": "cv name", "label": "cv label" }, "content_view_version": { "major": "4", "minor": "5" } } } } 204
Param name | Description |
---|---|
organization_id required |
Organization identifier Validations:
|
path required |
Directory containing the exported Content View Version Validations:
|
metadata required |
Metadata taken from the upstream export history for this Content View Version Validations:
|
POST /katello/api/content_imports/library { "organization_id": 114267492, "path": "/tmp", "metadata": { "organization": "org name", "products": { "label": { "name": "product name", "label": "label" } }, "gpg_keys": { "foo": { "label": "lol" } }, "repositories": { "repo name": { "name": "root repo name", "label": "root_label", "product": { "label": "label" }, "redhat": true } }, "toc": "toc file name", "content_view": { "name": "cv name", "label": "cv label" }, "content_view_version": { "major": "4", "minor": "5" } }, "content_import": { "organization_id": 114267492, "path": "/tmp", "metadata": { "organization": "org name", "products": { "label": { "name": "product name", "label": "label" } }, "gpg_keys": { "foo": { "label": "lol" } }, "repositories": { "repo name": { "name": "root repo name", "label": "root_label", "product": { "label": "label" }, "redhat": true } }, "toc": "toc file name", "content_view": { "name": "cv name", "label": "cv label" }, "content_view_version": { "major": "4", "minor": "5" } } } } 204
Param name | Description |
---|---|
organization_id required |
Organization identifier Validations:
|
path required |
Directory containing the exported Content View Version Validations:
|
metadata required |
Metadata taken from the upstream export history for this Content View Version Validations:
|
Param name | Description |
---|---|
organization_id required |
Organization identifier Validations:
|
path required |
Directory containing the exported Content View Version Validations:
|
metadata required |
Metadata taken from the upstream export history for this Content View Version Validations:
|