GET /api/reports
Enumera todos los informes

Params

Param Name Description
search
Optional

filtrar resultados


Value: Must be String
order
Optional

ordenar resultados


Value: Must be String
page
Optional

paginar resultados


Value: Must be String
per_page
Optional

número de entradas por petición


Value: Must be String

GET /api/reports/:id
Mostrar un informe

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
Crear un informe

Params

Param Name Description
report
Required

Value: Must be a Hash
report[host]
Required

Nombre de host o nombre de certificado


Value: Must be String
report[reported_at]
Required

Hora UTC del informe


Value: Must be String
report[status]
Required

Hash de los tipos de estado totales


Value: Must be Hash
report[metrics]
Required

Hash de metricas del informe, puede ser solo {}


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

Array opcional de hashes de log


Value: Must be an array of any type

DELETE /api/reports/:id
Borrar un informe

Params

Param Name Description
id
Required

Value: Must be String

GET /api/hosts/:host_id/reports/last
Mostrar ultimo reporte de 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.