空间更新
POST
https://api.flashcat.cloud/channel/update
最后修改时间:2024-11-19 03:35:53
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/channel/update?app_key' \
--header 'Content-Type: application/json' \
--data-raw '{
"channel_id": 0,
"channel_name": "string",
"description": "string",
"team_id": 0,
"auto_resolve_timeout": 0,
"is_private": true,
"group": {
"method": "i",
"cases": [
{
"if": [
{
"key": "title",
"oper": "IN",
"vals": [
"string"
]
}
],
"equals": [
"string"
]
}
],
"equals": [
[
"title"
]
],
"all_equals_required": true,
"time_window": 0,
"storm_threshold": 0
},
"flapping": {
"is_disabled": true,
"max_changes": "i",
"in_mins": 0,
"mute_mins": 0
}
}'
响应示例响应示例
{
"error": {
"code": "InvalidParameter",
"message": "string"
}
}
请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
Body 参数application/json