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:

  • number.

environment_id
opcjonalny

environment identifier

Validations:

  • number.

nondefault
opcjonalny

Filter out default content views

Validations:

  • boolean

noncomposite
opcjonalny

Filter out composite content views

Validations:

  • boolean

composite
opcjonalny

Filter only composite content views

Validations:

  • boolean

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:

  • number.

per_page
opcjonalny

Number of results per page to return

Validations:

  • number.

order
opcjonalny

Sort field and order, eg. 'name DESC'

Validations:

  • String

full_result
opcjonalny

Whether or not to show all results

Validations:

  • boolean

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:

  • number.

name
wymagany

Name of the content view

Validations:

  • String

label
opcjonalny

Content view label

Validations:

  • String

composite
opcjonalny

Composite content view

Validations:

  • boolean

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


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

Parametry

Nazwa parametru Opis
id
wymagany

Content view identifier

Validations:

  • 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


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

Parametry

Nazwa parametru Opis
id
wymagany

Content view identifier

Validations:

  • 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:

  • boolean


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

Parametry

Nazwa parametru Opis
id
wymagany

content view numeric identifier

Validations:

  • 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:

  • 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:

  • 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:

  • number.

environment_id
wymagany

environment numeric identifier

Validations:

  • 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:

  • number.

environment_ids
opcjonalny

environment numeric identifiers to be removed

Validations:

  • number.

content_view_version_ids
opcjonalny

content view version identifiers to be deleted

Validations:

  • number.

system_content_view_id
opcjonalny

content view to reassign orphaned systems to

Validations:

  • number.

system_environment_id
opcjonalny

environment to reassign orphaned systems to

Validations:

  • number.

key_content_view_id
opcjonalny

content view to reassign orphaned activation keys to

Validations:

  • number.

key_environment_id
opcjonalny

environment to reassign orphaned activation keys to

Validations:

  • number.


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

Parametry

Nazwa parametru Opis
id
wymagany

content view numeric identifier

Validations:

  • 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:

  • number.

name
wymagany

New content view name

Validations:

  • String