GET /api/fact_values
列出所有詳情值

GET /api/hosts/:host_id/facts
列出一部主機的所有詳情值

參數

參數名字 描述
location_id
選填

位置範圍

Validations:

  • Must be a Integer

organization_id
選填

組織範圍

Validations:

  • Must be a Integer

search
選填

篩選結果

Validations:

  • Must be a String

order
選填

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
選填

Page number, starting at 1

Validations:

  • Must be a number.

per_page
選填

Number of results per page to return

Validations:

  • Must be a number.

Search fields

Field name 類型 Possible values
fact string
fact_short_name string
facts string
host string
host.hostgroup string
host_id integer
location string
location_id integer
name string
organization string
organization_id integer
origin string
reported_at datetime
short_name string
type string
value string