公开可用数据
获取页面当前状态最简单的方式是
your-status-page-url/summary.json
示例地址是 https://instat.us/summary.json
响应示例:
{"page": {"name": "Instatus","url": "https://instat.us","status": "HASISSUES"},"activeIncidents": [{"name": "We're facing an issue with our API","started": "Sat Jun 11 2022 18:55:50 GMT+0000 (Coordinated Universal Time)","status": "INVESTIGATING","impact": "MAJOROUTAGE","url": "https://testing-widget.instatus.com/incident/cl4a8n3070721qtmzvts760c4"}],"activeMaintenances": [{"name": "Database maintenance","start": "Sat Jun 11 2022 18:55:54 GMT+0000 (Coordinated Universal Time)","status": "NOTSTARTEDYET","duration": "60","url": "https://testing-widget.instatus.com/maintenance/cl4a8nlv50918qtmzdlw60ivu"}]}
可能的页面状态:
UPHASISSUESUNDERMAINTENANCE
可能的事件状态:
INVESTIGATINGIDENTIFIEDMONITORINGRESOLVED
可能的维护状态:
NOTSTARTEDYETINPROGRESSCOMPLETED