通知媒介详情
开发中
GET
https://api.flashcat.cloud/api/n9e/notify-channel-config/{id}
最后修改时间:2025-02-26 06:41:46
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.flashcat.cloud/api/n9e/notify-channel-config/'
响应示例响应示例
{
"dat": {
"id": 6,
"name": "FeiShu Notification",
"ident": "feishu_channel",
"description": "A channel for sending notifications via FeiShu",
"enable": false,
"param_config": {
"user_contact_key": "Phone",
"params": null
},
"request_type": "http",
"request_config": {
"http_request_config": {
"url": "https://open.feishu.cn/open-apis/bot/v2/hook/your-webhook-url",
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"proxy": "",
"timeout": 10,
"concurrency": 5,
"retry_times": 3,
"retry_interval": 5,
"tls": {
"enable": false,
"cert_file": "",
"key_file": "",
"ca_file": "",
"skip_verify": false
},
"request": {
"parameters": {
"feishu_robot_token": "your_feishu_token"
},
"form": "",
"body": "This is a FeiShu notification."
}
},
"smtp_request_config": {
"host": "",
"port": 0,
"username": "",
"password": "",
"from": "",
"insecure_skip_verify": false,
"batch": 0
},
"script_request_config": {
"script_type": "",
"timeout": 0,
"script": "",
"path": ""
}
},
"create_at": 1740551892,
"create_by": "root",
"update_at": 1740551892,
"update_by": "root"
},
"err": ""
}
请求参数
Path 参数
id
string
必需