GET /api/fact_values
Llista tots els valors dels objectes d'interès

GET /api/hosts/:host_id/facts
Llista tots els valors dels objectes d'interès d'un amfitrió donat

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

search
optional

filtra els resultats

Validations:

  • Must be a String

order
optional

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Nombre de resultats per pàgina a retornar

Validations:

  • Must be a number.

Search fields

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