跳到主要内容

EventWebhookWrite

enabledboolean必填

是否启用。

endpointstring<uri>必填

Webhook 接收地址。

取值约束: <= 2048 个字符

environmentstring必填

订阅环境。

取值约束: [test, production]

eventsstring[]必填

订阅的事件类型。

取值约束: [automation.triggered, automation.completed, automation.skipped, skill.execution.completed], >= 1

revisioninteger必填

修订号,写入时传入读取到的当前版本。

取值约束: >= 0

EventWebhookWrite
{
"enabled": true,
"endpoint": "string",
"environment": "test",
"events": [
"automation.triggered"
],
"revision": 0
}