Hi,
I am working on customizing stauspage with HTML, CSS, and JS. I would like to show the number of incidents that occurred in the past 24 hours on my main page. Is there any way we can get the count of the number of incidents that happened in the last 24 hours and show that on the main page?
Thanks & Regards,
Imthiyaz Ahamed
Hi @Imthiyaz Ahamed ,
Thanks for reaching out to community about this. You could try using the API to get the number of incidents within a certain date and then sending that value to your page. That will be the more challenging part. The API endpoint for that would be https://developer.statuspage.io/#operation/getPagesPageIdIncidents
Best,
Abraham, Statuspage Support
Hi Abraham,
I am aware about the APIs of statuspage. Do you have any sample code for this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Imthiyaz Ahamed ,
Unfortunately not as we don't really have the bandwidth to help come up with custom code. If you see an existing page that is doing the same, you could inspect the page via chrome admin tools and extract some of the HTML/CSS they are using.
Regards,
Abraham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.