Show TLS certificate validity details
Include healthy TLS certificate validity in website check messages and show latest website check results in the UI.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import type {
|
||||
Asset,
|
||||
CheckResult,
|
||||
Incident,
|
||||
Monitor,
|
||||
MonitorUpdate,
|
||||
@@ -82,6 +83,8 @@ export const api = {
|
||||
request<void>(`/monitors/${monitorId}`, token, {
|
||||
method: "DELETE",
|
||||
}),
|
||||
monitorResults: (token: string, monitorId: number, limit = 1) =>
|
||||
request<CheckResult[]>(`/monitors/${monitorId}/results?limit=${limit}`, token),
|
||||
incidents: (token: string) => request<Incident[]>("/incidents", token),
|
||||
acknowledgeIncident: (token: string, incidentId: number) =>
|
||||
request<Incident>(`/incidents/${incidentId}/acknowledge`, token, {
|
||||
|
||||
Reference in New Issue
Block a user