GET /katello/api/content_imports
List import histories

Params

Param name Description
content_view_version_id
optional

Content view version identifier

Validations:

  • Must be a number.

content_view_id
optional

Content view identifier

Validations:

  • Must be a number.

organization_id
optional

Organization identifier

Validations:

  • Must be a number.

id
optional

Content view version import history identifier

Validations:

  • Must be a number.

type
optional

Import Types

Validations:

  • Must be one of: complete, incremental.

search
optional

Search string

Validations:

  • String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Number of results per page to return

Validations:

  • Must be a number.

order
optional

Sort field and order, eg. ‘id DESC’

Validations:

  • String

full_result
optional

Whether or not to show all results

Validations:

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

sort_by
optional

Field to sort the results on

Validations:

  • String

sort_order
optional

How to order the sorted results (e.g. ASC for ascending)

Validations:

  • String

Search fields

Field name Type Possible values
content_view_id integer
content_view_version_id integer
id integer
type string

POST /katello/api/content_imports/version
Import a content view version

Params

Param name Description
organization_id
required

Organization identifier

Validations:

  • Must be a number.

path
required

Directory containing the exported Content View Version

Validations:

  • String

metadata
required

Metadata taken from the upstream export history for this Content View Version

Validations:

  • Hash


POST /katello/api/content_imports/library
Import a content view version to the library

Params

Param name Description
organization_id
required

Organization identifier

Validations:

  • Must be a number.

path
required

Directory containing the exported Content View Version

Validations:

  • String

metadata
required

Metadata taken from the upstream export history for this Content View Version

Validations:

  • Hash