GET /api/config_reports
Elenca tutte le notifiche

Params

Param Name Description
search
Optional

filtra i risultati


Value:

Must be String

order
Optional

ordina risultati


Value:

Must be String

page
Optional

paginazione risultati


Value:

Must be String

per_page
Optional

numero di voci per richiesta


Value:

Must be String


GET /api/config_reports/:id
Mostra una notifica

Params

Param Name Description
id
Required

Value:

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
Crea una notifica

Params

Param Name Description
config_report
Required

Value:

Must be a Hash

config_report[host]
Required

Hostname o certname


Value:

Must be String

config_report[reported_at]
Required

Orario UTC della notifica


Value:

Must be String

config_report[status]
Required

Hash dei totali del tipo di stato


Value:

Must be Hash

config_report[metrics]
Required

Hash per le metriche della notifica, può essere solo {}


Value:

Must be Hash

config_report[logs]
Optional , <span class="translation_missing" title="translation missing: it.apipie.nil_allowed">Nil Allowed</span>

Insieme opzionale di log hash


Value:

Must be an array of any type


DELETE /api/config_reports/:id
Cancella una notifica

Params

Param Name Description
id
Required

Value:

Must be String


GET /api/hosts/:host_id/config_reports/last
Mostra l'ultima notifica per un host

Params

Param Name Description
id
Required

Value:

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