GET
/v2/status/pages
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON[ { "id": "9b5c9b75-0ae5-4f4a-ad38-3ec2e589f597", "publicAddress": "acme-corp-status", "name": "Acme Corporation", "description": "Публичная страница статуса сервисов Acme Corporation", "logo": "logo_placeholder.png", "monitors": [ { "id": "51def3fc-60f7-468a-9e1c-64bd2ca43a2e", "name": "Монитор основного сайта", "description": "Отслеживание доступности веб-сайта компании.", "url": "https://example.com", "statistics": [] }, { "id": "a1b2c3d4-e5f6-7890-1234-567890abcdef", "name": "Монитор API", "description": "Отслеживание доступности публичного API.", "url": "https://api.example.com", "statistics": [] } ], "createdAt": "2025-09-29T18:32:00.000Z" } ]
POST
/v2/status/pages
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
publicAddress | Публичный адрес страницы |
name | Название страницы |
description | Описание страницы |
logo | Логотип (ссылка) |
monitors | Массив string[] с ID мониторов |
Response
JSON{ status: "OK", id: uuid }
PUT
/v2/status/page/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
publicAddress | Публичный адрес страницы |
name | Название страницы |
description | Описание страницы |
logo | Логотип (ссылка) |
monitors | Массив string[] с ID мониторов |
Response
JSON{ status: "OK" }
GET
/v2/status/spage/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON{ "name": "LeeCyber", "description": "LeeCyber", "logo": "5eb713b031.png", "monitors": [ { "id": "51def3fc-60f7-468a-9e1c-64bd2ca43a2e", "name": "Тестовый монитор", "url": "https://leecyber.com", "type": "HTTP", "statistics": [] } ], "incidents": [], "createdAt": "2025-09-27T11:57:55.000Z" }
GET
/v2/status/incidents
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON[ { "id": "a1b2c3d4-e5f6-7890-1234-567890abcdef", "userId": "user-uuid-001", "name": "API Gateway Unresponsive", "status": "resolved", "impact": "critical", "type": "downtime", "postmortem": "", "createdAt": "2025-09-28T10:00:00.000Z", "updatedAt": "2025-09-28T12:30:00.000Z" }, { "id": "b2c3d4e5-f6a7-8901-2345-67890abcdef1", "userId": "user-uuid-002", "name": "Database Latency Increased", "status": "investigating", "impact": "major", "type": "performance_degradation", "postmortem": "", "createdAt": "2025-09-29T18:00:00.000Z", "updatedAt": "2025-09-29T18:35:00.000Z" } ]
GET
/v2/status/incident/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON{ "id": "a1b2c3d4-e5f6-7890-1234-567890abcdef", "name": "Authentication Service Failure", "status": "resolved", "impact": "critical", "type": "downtime", "postmortem": "", "createdAt": "2025-09-29T18:00:00.000Z", "updatedAt": "2025-09-29T20:30:00.000Z", "monitors": [ "51def3fc-60f7-468a-9e1c-64bd2ca43a2e", "b2c3d4e5-f6a7-8901-2345-67890abcdef1" ], "history": [ { "status": "investigating", "message": "We are investigating reports of login failures.", "timestamp": "2025-09-29T18:05:00.000Z" }, { "status": "identified", "message": "The issue has been identified in the authentication service. We are working on a fix.", "timestamp": "2025-09-29T18:45:00.000Z" }, { "status": "monitoring", "message": "A fix has been deployed and we are monitoring the results.", "timestamp": "2025-09-29T20:15:00.000Z" }, { "status": "resolved", "message": "The service has returned to normal operation. We will conduct a postmortem.", "timestamp": "2025-09-29T20:30:00.000Z" } ] }
POST
/v2/status/incidents
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
name | Название |
monitors | Массив string[] с ID мониторов |
type | Тип: инцидент, техническое обслуживание |
impact | Влияние |
status | Статус инцидента |
message | Первое сообщение |
postmortem | Постмортем, если нет - передать пустое поле |
Response
JSON{ status: "OK" }
PUT
/v2/status/incident/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
name | Название |
monitors | Массив string[] с ID мониторов |
type | Тип: инцидент, техническое обслуживание |
impact | Влияние |
status | Статус инцидента |
message | Первое сообщение |
postmortem | Постмортем, если нет - передать пустое поле |
Response
JSON{ status: "OK" }
GET
/v2/status/monitors
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON[ { "id": "51def3fc-60f7-468a-9e1c-64bd2ca43a2e", "name": "Тестовый монитор", "url": "https://leecyber.com", "type": "HTTP", "statistics": [] } ]
GET
/v2/status/monitor/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON{ "id": "51def3fc-60f7-468a-9e1c-64bd2ca43a2e", "name": "Тестовый монитор", "description": "Описание тестового монитора", "url": "https://leecyber.com", "type": "HTTP", "notificationId": "d895367e-9af1-4e4d-b7b7-2f234a638d42", "settings": { "method": "GET", "jsonRequest": "", "headers": "", "keyword": "", "json": "", "host": "", "port": "", "packets": "", "statusCodes": "200299" } }
POST
/v2/status/monitors
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
name | Название |
url | Ссылка |
type | Тип проверки |
notificationId | ID уведомления |
settings | Массив техинформации о проверке |
description | Описание монитора |
Response
JSON{ status: "OK" }
PUT
/v2/status/monitor/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
name | Название |
url | Ссылка |
type | Тип проверки |
notificationId | ID уведомления |
settings | Массив техинформации о проверке |
description | Описание монитора |
Response
JSON{ status: "OK" }
GET
/v2/status/monitor/:id/statistics
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Query
Name | Value |
interval | Интервал статистики (3h, 6h, 24h, 1w) |
Response
JSON{ "checks": [ { "timestamp": "2025-09-27T11:46:18.000Z", "status": "AVAILABLE", "message": "HTTP 200 - OK", "ttfb": 362 }, { "timestamp": "2025-09-27T11:54:18.000Z", "status": "UNAVAILABLE", "message": "getaddrinfo ENOTFOUND leecybe1r.com", "ttfb": 0 } ], "interval": "1w", "summary": { "lastTtfb": 277, "avgTtfb": 119, "uptime24h": null, "uptime30d": 40.91 } }
GET
/v2/status/notifications
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Response
JSON[ { "id": "cfe580a5-a688-43df-b23d-16a17760642e", "name": "Тестовое уведомление", "type": "TELEGRAM", "settings": { "token": "TOKEN", "chatId": "3481293844", "url": "", "emails": "" }, "createdAt": "2025-09-27T11:37:16.000Z" } ]
POST
/v2/status/notifications
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
name | Название |
type | Тип |
settings | Массив настроек, в зависимости от типа |
Response
JSON{ status: "OK", msg: "Created" }
PUT
/v2/status/notification/:id
Headers
Name | Value |
Content-Type | application/json |
Authorization | Bearer <token> |
Body
Name | Value |
name | Название |
type | Тип |
settings | Массив настроек, в зависимости от типа |
Response
JSON{ status: "OK", msg: "Updated" }