GET /api/config_reports
Alle Berichte auflisten

Parameter

Parametername Beschreibung
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

Ergebnisse filtern

Validations:

  • Must be a String

order
optional

Feld und Reihenfolge sortieren, z.B. 'id DESC'

Validations:

  • Must be a String

page
optional

Seitennummer, beginnend bei 1

Validations:

  • Must be a number.

per_page
optional

Anzahl der angezeigten Ergebnisse pro Seite

Validations:

  • Must be a number.

Suchfelder

Feld Name Typ Mögliche Werte
applied
environment
eventful true, false
failed
failed_restarts
host
host_id
hostgroup
hostgroup_fullname
hostgroup_title
last_report
location
log
organization
origin
pending
reported
resource
restarted
skipped

GET /api/config_reports/:id
Bericht anzeigen

Parameter

Parametername Beschreibung
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

id
verpflichtend

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/config_reports
Bericht erstellen

Parameter

Parametername Beschreibung
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

config_report
verpflichtend

Validations:

  • Must be a Hash

config_report[host]
verpflichtend

Hostname oder Zertifikatsname

Validations:

  • Must be a String

config_report[reported_at]
verpflichtend

UTC-Zeit des Berichts

Validations:

  • Must be a String

config_report[status]
verpflichtend

Hash der Statustypensummen

Validations:

  • Must be a Hash

config_report[metrics]
verpflichtend

Hash der Berichtmetriken, kann einfach nur {} sein

Validations:

  • Must be a Hash

config_report[logs]
optional , nil erlaubt

Optionales Array der Log-Hashes

Validations:

  • Must be an array of any type


DELETE /api/config_reports/:id
Bericht löschen

Parameter

Parametername Beschreibung
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

id
verpflichtend

Validations:

  • Must be a String


GET /api/hosts/:host_id/config_reports/last
Letzten Bericht für einen Host anzeigen

Parameter

Parametername Beschreibung
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

id
verpflichtend

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.