GET /katello/api/content_views/:content_view_id/content_view_puppet_modules
列出內容視域的 puppet 模組

參數

參數名字 描述
content_view_id
必填

內容視域識別子

Validations:

  • Must be a number.

name
選填

puppet 模組名稱

Validations:

  • String

author
選填

puppet 模組的作者

Validations:

  • String

uuid
選填

欲相聯的 puppet 模組之 UUID

Validations:

  • String

search
選填

搜尋字串

Validations:

  • String

page
選填

頁數,從 1 開始

Validations:

  • Must be a number.

per_page
選填

每頁要傳回的結果數量

Validations:

  • Must be a number.

order
選填

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
選填

是否顯示所有結果

Validations:

  • Must be one of: true, false, 1, 0

sort
選填

「order」參數的雜湊版本

Validations:

  • Hash

sort[by]
選填

用來排序結果的欄位

Validations:

  • String

sort[order]
選填

如何排序結果的順序(比方說 ASC 從下到上)

Validations:

  • String


POST /katello/api/content_views/:content_view_id/content_view_puppet_modules
新增 puppet 模組至內容視域

參數

參數名字 描述
content_view_id
必填

內容視域識別子

Validations:

  • Must be a number.

name
選填

puppet 模組名稱

Validations:

  • String

author
選填

puppet 模組的作者

Validations:

  • String

id
選填

the id of the puppet module to associate

Validations:

  • String

uuid
選填

欲相聯的 puppet 模組之 UUID

Validations:

  • String


GET /katello/api/content_views/:content_view_id/content_view_puppet_modules/:id
顯示內容視域的 puppet 模組

參數

參數名字 描述
content_view_id
必填

內容視域的數字識別子

Validations:

  • Must be a number.

id
必填

puppet 模組 ID

Validations:

  • Must be a number.


PUT /katello/api/content_views/:content_view_id/content_view_puppet_modules/:id
更新與內容視域相聯的 puppet 模組

參數

參數名字 描述
content_view_id
必填

內容視域識別子

Validations:

  • Must be a number.

id
必填

puppet 模組 ID

Validations:

  • Must be a number.

name
選填

puppet 模組名稱

Validations:

  • String

author
選填

puppet 模組的作者

Validations:

  • String

uuid
選填

欲相聯的 puppet 模組之 UUID

Validations:

  • String


DELETE /katello/api/content_views/:content_view_id/content_view_puppet_modules/:id
從內容視域移除 puppet 模組

參數

參數名字 描述
content_view_id
必填

內容視域識別子

Validations:

  • Must be a number.

id
必填

puppet 模組 ID

Validations:

  • Must be a number.