GET /api/reports
Alle Berichte auflisten

Params

Param Name Description
search
Optional

Ergebnisse filtern


Value: Must be String
order
Optional

Ergebnisse sortieren


Value: Must be String
page
Optional

paginate results


Value: Must be String
per_page
Optional

Anzahl der Einträge pro Anfrage


Value: Must be String

GET /api/reports/:id
Bericht anzeigen

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/reports
Bericht erstellen

Params

Param Name Description
report
Required

Value: Must be a Hash
report[host]
Required

Hostname oder Zertifikatsname


Value: Must be String
report[reported_at]
Required

UTC-Zeit des Berichts


Value: Must be String
report[status]
Required

Hash of status type totals


Value: Must be Hash
report[metrics]
Required

Hash of report metrics, can be just {}


Value: Must be Hash
report[logs]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Optional array of log hashes


Value: Must be an array of any type

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

Params

Param Name Description
id
Required

Value: Must be String

GET /api/hosts/:host_id/reports/last
Show the last report for a 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.