GET /katello/api/content_views/:content_view_id/content_view_puppet_modules
List content view puppet modules

Parametry

Nazwa parametru Opis
content_view_id
wymagany

content view identifier

Validations:

  • Must be a number.

name
opcjonalny

name of the puppet module

Validations:

  • String

author
opcjonalny

author of the puppet module

Validations:

  • String

uuid
opcjonalny

the uuid of the puppet module to associate

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/content_views/:content_view_id/content_view_puppet_modules
Add a puppet module to the content view

Parametry

Nazwa parametru Opis
content_view_id
wymagany

content view identifier

Validations:

  • Must be a number.

name
opcjonalny

name of the puppet module

Validations:

  • String

author
opcjonalny

author of the puppet module

Validations:

  • String

id
opcjonalny

the id of the puppet module to associate

Validations:

  • String

uuid
opcjonalny

the uuid of the puppet module to associate

Validations:

  • String


GET /katello/api/content_views/:content_view_id/content_view_puppet_modules/:id
Show a content view puppet module

Parametry

Nazwa parametru Opis
content_view_id
wymagany

content view numeric identifier

Validations:

  • Must be a number.

id
wymagany

puppet module ID

Validations:

  • Must be a number.


PUT /katello/api/content_views/:content_view_id/content_view_puppet_modules/:id
Update a puppet module associated with the content view

Parametry

Nazwa parametru Opis
content_view_id
wymagany

content view identifier

Validations:

  • Must be a number.

id
wymagany

puppet module ID

Validations:

  • Must be a number.

name
opcjonalny

name of the puppet module

Validations:

  • String

author
opcjonalny

author of the puppet module

Validations:

  • String

uuid
opcjonalny

the uuid of the puppet module to associate

Validations:

  • String


DELETE /katello/api/content_views/:content_view_id/content_view_puppet_modules/:id
Remove a puppet module from the content view

Parametry

Nazwa parametru Opis
content_view_id
wymagany

content view identifier

Validations:

  • Must be a number.

id
wymagany

puppet module ID

Validations:

  • Must be a number.