- 介绍
- 灭火图 API
- 空间管理
- 北极星 API
事件列表
开发中
POST
https://api.flashcat.cloud/api/v1/northstar/incident/list
最后修改时间:2024-03-15 07:53:47
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
business_id
integer
必需
start
integer
必需
end
integer
必需
示例
{
"business_id": 27,
"start": 1652172099,
"end": 1652172199
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/api/v1/northstar/incident/list' \
--header 'Content-Type: application/json' \
--data-raw '{
"business_id":27,
"start":1652172099,
"end":1652172199
}'
返回响应
🟢200成功
application/json
Body
request_id
string
必需
data
array [object {12}]
必需
business_id
integer
可选
metrics
array[string]
可选
id
integer
可选
name
string
可选
severity
integer
可选
description
string
可选
web_link
string
可选
error_budget_used_minutes
integer
可选
time_of_failure
integer
可选
time_of_diagnose
integer
可选
time_of_repair
integer
可选
time_of_recovery
integer
可选
示例
{
"request_id": "a74167328aedc6697bc7d7312dace89d",
"data": [
{
"business_id": 27,
"metrics": [
"hw_mock_data_9"
],
"id": 1,
"name": "第一个事件",
"severity": 1,
"description": "随便写点什么",
"web_link": "http://www.baidu.com",
"error_budget_used_minutes": 10,
"time_of_failure": 1652172099,
"time_of_diagnose": 1652172099,
"time_of_repair": 1652172099,
"time_of_recovery": 1652172099
}
]
}

添加官方技术人员微信
在这里,获得使用上的任何帮助,快速上手企业告警一站式响应平台FlashDuty


修改于 2024-03-15 07:53:47