查看偏好设置
POST
https://api.flashcat.cloud/preference/info
最后修改时间:2023-11-16 23:33:42
请求参数
Authorization
在 query 添加参数
app_key
示例:
app_key: ********************
Header 参数
Content-Type
string
可选
示例值:
application/json
示例代码
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/preference/info?app_key' \
--header 'Content-Type: application/json'
返回响应
🟢200成功
application/json
Body
error
object (DutyError)
错误描述
code
enum<string>
错误码
枚举值:
InvalidParameterInvalidContentTypeUnauthorizedAccessDeniedMethodNotAllowedRequestTooFrequentlyRequestVerifyRequiredDangerousOperationRequestLockedRouteNotFoundBalanceNotEnoughUndonedOrderExistResourceNotFoundInternalErrorReferenceExist
message
string
错误描述
data
object (Preference)
响应数据
person_id
integer
人员ID
trigger_notify
object (SeverityToBy)
故障触发时的通知方式
shedule_shift_notify
object
换班触发时的通知方式
示例
{
"error": {
"code": "InvalidParameter",
"message": "string"
},
"data": {
"person_id": 0,
"trigger_notify": {
"critical": [
"email"
],
"warning": [
"email"
],
"info": [
"email"
]
},
"shedule_shift_notify": {
"personal_channels": [
"string"
]
}
}
}

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


修改于 2023-11-16 23:33:42