GET /api/hosts/:host_id/errata
列出內容主機的可用勘誤

參數

參數名字 描述
host_id
必填

內容主機的 UUID

Validations:

  • Must be a number.

content_view_id
選填

根據特定內容視域,計算可套用的勘誤

Validations:

  • Must be a number.

environment_id
選填

根據特定環境,計算可套用的勘誤

Validations:

  • Must be a number.

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


PUT /api/hosts/:host_id/errata/apply
為安裝排程勘誤

參數

參數名字 描述
host_id
必填

Host ID

Validations:

  • Must be a number.

errata_ids
必填

欲安裝的勘誤 ID 之清單

Validations:

  • Must be an array of any type


GET /api/hosts/:host_id/errata/:id
Retrieve a single errata for a host

參數

參數名字 描述
host_id
必填

Host ID

Validations:

  • Must be a number.

id
必填

勘誤 (RHSA-2012:108) 的勘誤 ID

Validations:

  • String


PUT /api/hosts/:host_id/errata/applicability
Force regenerate applicability.

參數

參數名字 描述
host_id
必填

Host ID

Validations:

  • Must be a number.