时间线
POST
https://api.flashcat.cloud/alert/feed
最后修改时间:2024-10-10 12:11:29
请求参数
Authorization
在 query 添加参数
app_key
示例:
app_key: ********************
Body 参数application/json
alert_id
string
告警ID
p
integer
页码,从1开始
limit
integer
分页条数
asc
boolean
是否升序
types
array[string]
记录类型
枚举值:
a_newa_updatea_closea_comma_mergea_m_silencea_m_inhibit
示例
{
"alert_id": "string",
"p": 0,
"limit": 0,
"asc": true,
"types": [
"a_new"
]
}
示例代码
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/alert/feed?app_key' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
error
object (DutyError)
可选
code
enum<string>
错误码
枚举值:
InvalidParameterInvalidContentTypeUnauthorizedAccessDeniedMethodNotAllowedRequestTooFrequentlyRequestVerifyRequiredDangerousOperationRequestLockedRouteNotFoundBalanceNotEnoughUndonedOrderExistResourceNotFoundInternalErrorReferenceExist
message
string
错误描述
data
object
可选
items
array[object (AlertAction) {4}]
必需
示例
{
"error": {
"code": "InvalidParameter",
"message": "string"
},
"data": {
"items": [
{
"created_at": 0,
"creator_id": 0,
"type": "a_new",
"detail": {
"comment": "string"
}
}
]
}
}

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


修改于 2024-10-10 12:11:29