|
名称 |
类型 |
描述 |
示例值 |
|---|---|---|---|
|
object |
用于表示 Webhook 的合并对象 的结构体。 |
||
| gmtCreate |
string |
创建时间。 |
2025-03-11T08:21:58.789Z |
| name |
string |
Webhook 名称。 |
运维告警通知 |
| gmtModified |
object |
最后修改时间。 |
2025-03-11T08:21:58.789Z |
| identifier |
string |
Webhook 唯一标识符。 |
webhook-12345 |
| webhook |
string |
Webhook 地址,用于发送请求。 |
https://oapi.dingtalk.com/robot/send?access_token=abc123 |
| type |
string |
Webhook 类型,表示其目标平台。 |
dingtalk |
| headers |
string |
请求头信息。 |
{"Authorization": "Bearer abc123"} |
| method |
string |
HTTP 请求方法。 |
POST |
| contentType |
string |
内容类型。 |
application/json |
| lang |
string |
语言偏好。 |
zh-CN |
| extend |
string |
扩展字段,用于存储额外配置。 |
{"timeout": 3000} |
| source |
string |
Webhook 来源系统。 |
dingtalk |
该文章对您有帮助吗?