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:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

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

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

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:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..


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:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

id
Required

puppet module ID

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

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:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

id
Required

puppet module ID

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..