diff --git a/frontend/src/API.js b/frontend/src/API.js index dbadbf04..22b231b9 100644 --- a/frontend/src/API.js +++ b/frontend/src/API.js @@ -155,6 +155,10 @@ class Api { return axios.delete('api/incidents/'+incident.id).then(response => (response.data)) } + async checkin(api) { + return axios.get('api/checkins/'+api).then(response => (response.data)) + } + async checkin_create(data) { return axios.post('api/checkins', data).then(response => (response.data)) } diff --git a/frontend/src/components/Dashboard/Checkins.vue b/frontend/src/components/Dashboard/Checkins.vue index 310b322d..e534ec5c 100644 --- a/frontend/src/components/Dashboard/Checkins.vue +++ b/frontend/src/components/Dashboard/Checkins.vue @@ -2,40 +2,81 @@

{{service.name}} Checkins

Tell your service to send a routine HTTP request to a Statping Checkin.

-