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
必填

要安装的勘误列表

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
必填

勘误表中的勘误 id(RHSA-2012:108)

Validations:

  • String


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

参数

参数名字 描述
host_id
必填

Host ID

Validations:

  • Must be a number.