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:

  • Must be a number.

name
optional

name of the puppet module

Validations:

  • String

author
optional

author of the puppet module

Validations:

  • String

uuid
optional

uuid of the puppet module

Validations:

  • String

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
author string
content_view_name string
name string
uuid 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:

  • Must be a 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:

  • Must be a number.

id
required

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

Params

Param name Description
content_view_id
required

content view identifier

Validations:

  • Must be a number.

id
required

puppet module ID

Validations:

  • Must be a 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:

  • Must be a number.

id
required

puppet module ID

Validations:

  • Must be a number.