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

Params

Param name Description
content_view_id
required

content view identifier

Validations:

  • number.

name
optional

name of the puppet module

Validations:

  • String

author
optional

author of the puppet module

Validations:

  • String

uuid
optional

the uuid of the puppet module to associate

Validations:

  • String

search
optional

Search string

Validations:

  • String

page
optional

Page number, starting at 1

Validations:

  • number.

per_page
optional

Number of results per page to return

Validations:

  • number.

order
optional

Sort field and order, eg. ‘name DESC’

Validations:

  • String

full_result
optional

Whether or not to show all results

Validations:

  • boolean

sort
optional

Hash version of ‘order’ param

Validations:

  • Hash

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


POST /katello/api/content_views/:content_view_id/content_view_puppet_modules
Add a puppet module to the content view

Params

Param name Description
content_view_id
required

content view identifier

Validations:

  • number.

name
optional

name of the puppet module

Validations:

  • String

author
optional

author of the puppet module

Validations:

  • String

id
optional

the id of the puppet module to associate

Validations:

  • String

uuid
optional

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

Params

Param name Description
content_view_id
required

content view numeric identifier

Validations:

  • number.

id
required

puppet module ID

Validations:

  • number.


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

Params

Param name Description
content_view_id
required

content view identifier

Validations:

  • number.

id
required

puppet module ID

Validations:

  • number.

name
optional

name of the puppet module

Validations:

  • String

author
optional

author of the puppet module

Validations:

  • String

uuid
optional

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

Params

Param name Description
content_view_id
required

content view identifier

Validations:

  • number.

id
required

puppet module ID

Validations:

  • number.