SugarHosts Service - 我們的公共 API

我們的公共 API

GET

https://status.sugarhosts.com/summary.json

獲取狀態頁面的整體狀態。不包括組件和歷史通知。

{
"page": {
"name": "SugarHosts Service",
"url": "https://status.sugarhosts.com",
"status": "UP"
},
"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"
}
]
}
GET

https://status.sugarhosts.com/v2/components.json

獲取您的狀態頁面組件以及影響它們的活動問題。

[
{
"id": "ckf01fvnxywz60a35wdbn5gz5",
"name": "App",
"status": "OPERATIONAL",
"description": "",
"isParent": false,
"children": []
}
]