公開されているデータ
ページの現在のステータスを取得する最も簡単な方法は次のとおりです。
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