The status API reports a site that is down, or a check that is too old, just like the status page
If you watch our platform through /api/status, the status field now tells you how things are right now. Until today it only looked at the average over thirty days, and it said operational even when there was no check at all. A monitor could miss a site that was down, or a check round that had stopped two days earlier.
The field now holds one of three words. operational means we checked in the last thirty minutes and everything responded. degraded means a site did not respond at the last check, or availability over thirty days is below 99 percent. unknown means we have no check from the last thirty minutes, so we cannot say how things are. If your monitor only accepts operational, it now raises the alarm in both cases. The thirty-day percentage is still there, in platform.uptime30d, and the docs field explains the three words.
The status page on status.dorelli.cloud already worked this way. The API and the status page now use the same rules.
Desplegado como commit 3638b5cb