GET /katello/api/organizations/:organization_id/content_views
List content views

GET /katello/api/content_views
List content views

Parametry

Nazwa parametru Opis
organization_id
opcjonalny

organization identifier

Validations:

  • Must be a number.

environment_id
opcjonalny

environment identifier

Validations:

  • Must be a number.

nondefault
opcjonalny

Filter out default content views

Validations:

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

noncomposite
opcjonalny

Filter out composite content views

Validations:

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

composite
opcjonalny

Filter only composite content views

Validations:

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

without
opcjonalny

Do not include this array of content views

Validations:

  • Must be an array of any type

name
opcjonalny

Name of the content view

Validations:

  • String

search
opcjonalny

Search string

Validations:

  • String

page
opcjonalny

Page number, starting at 1

Validations:

  • Must be a number.

per_page
opcjonalny

Number of results per page to return

Validations:

  • Must be a number.

order
opcjonalny

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
opcjonalny

Whether or not to show all results

Validations:

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

sort
opcjonalny

Hash version of 'order' param

Validations:

  • Hash

sort[by]
opcjonalny

Field to sort the results on

Validations:

  • String

sort[order]
opcjonalny

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

Validations:

  • String


POST /katello/api/organizations/:organization_id/content_views
Create a content view

POST /katello/api/content_views
Create a content view

Parametry

Nazwa parametru Opis
organization_id
wymagany

Organization identifier

Validations:

  • Must be a number.

name
wymagany

Name of the content view

Validations:

  • String

label
opcjonalny

Content view label

Validations:

  • String

composite
opcjonalny

Composite content view

Validations:

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

description
opcjonalny

Description for the content view

Validations:

  • String

repository_ids
opcjonalny

List of repository ids

Validations:

  • Must be an array of any type

component_ids
opcjonalny

List of component content view version ids for composite views

Validations:

  • Must be an array of any type

auto_publish
opcjonalny

Enable/Disable auto publish of composite view

Validations:

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


PUT /katello/api/content_views/:id
Update a content view

Parametry

Nazwa parametru Opis
id
wymagany

Content view identifier

Validations:

  • Must be a number.

name
opcjonalny

New name for the content view

Validations:

  • String

description
opcjonalny

Description for the content view

Validations:

  • String

repository_ids
opcjonalny

List of repository ids

Validations:

  • Must be an array of any type

component_ids
opcjonalny

List of component content view version ids for composite views

Validations:

  • Must be an array of any type

auto_publish
opcjonalny

Enable/Disable auto publish of composite view

Validations:

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


POST /katello/api/content_views/:id/publish
Publish a content view

Parametry

Nazwa parametru Opis
id
wymagany

Content view identifier

Validations:

  • Must be a number.

description
opcjonalny

Description for the new published content view version

Validations:

  • String

force_yum_metadata_regeneration
opcjonalny

Force yum metadata regeneration on the repositories in the content view version

Validations:

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


GET /katello/api/content_views/:id
Show a content view

Parametry

Nazwa parametru Opis
id
wymagany

content view numeric identifier

Validations:

  • Must be a number.


GET /katello/api/content_views/:id/available_puppet_modules
Get puppet modules that are available to be added to the content view

Parametry

Nazwa parametru Opis
id
wymagany

content view numeric identifier

Validations:

  • Must be a number.

name
opcjonalny

module name to restrict modules for

Validations:

  • String


GET /katello/api/content_views/:id/available_puppet_module_names
Get puppet modules names that are available to be added to the content view

Parametry

Nazwa parametru Opis
id
wymagany

content view numeric identifier

Validations:

  • Must be a number.


DELETE /katello/api/content_views/:id/environments/:environment_id
Remove a content view from an environment

Parametry

Nazwa parametru Opis
id
wymagany

content view numeric identifier

Validations:

  • Must be a number.

environment_id
wymagany

environment numeric identifier

Validations:

  • Must be a number.


PUT /katello/api/content_views/:id/remove
Remove versions and/or environments from a content view and reassign systems and keys

Parametry

Nazwa parametru Opis
id
wymagany

content view numeric identifier

Validations:

  • Must be a number.

environment_ids
opcjonalny

environment numeric identifiers to be removed

Validations:

  • Must be a number.

content_view_version_ids
opcjonalny

content view version identifiers to be deleted

Validations:

  • Must be a number.

system_content_view_id
opcjonalny

content view to reassign orphaned systems to

Validations:

  • Must be a number.

system_environment_id
opcjonalny

environment to reassign orphaned systems to

Validations:

  • Must be a number.

key_content_view_id
opcjonalny

content view to reassign orphaned activation keys to

Validations:

  • Must be a number.

key_environment_id
opcjonalny

environment to reassign orphaned activation keys to

Validations:

  • Must be a number.


DELETE /katello/api/content_views/:id
Delete a content view

Parametry

Nazwa parametru Opis
id
wymagany

content view numeric identifier

Validations:

  • Must be a number.


POST /katello/api/content_views/:id/copy
Make copy of a content view

Parametry

Nazwa parametru Opis
id
wymagany

Content view numeric identifier

Validations:

  • Must be a number.

name
wymagany

New content view name

Validations:

  • String