SaveWorkflowWebhookConfigInput
enabledbooleanrequired
targetstring
entrypointIdstring
Workflow 入口 ID;省略时沿用已保存入口,旧配置则使用目标版本默认入口。
entrypoint_idstring
entrypointId 的兼容别名。
allowDraftboolean
resetSecretboolean
mapping object[]
Array [
bodyPathstringrequired
inputNamestringrequired
]
filters object[]
Array [
conditions object[]required
Array [
bodyPathstringrequired
Webhook JSON body path. Use $ for the full body.
operatorstringrequired
Possible values: [equals, not_equals, contains, starts_with, ends_with, matches, in, exists, missing]
valuestring
Required for equals/not_equals/contains/starts_with/ends_with/matches.
valuesstring[]
Required for the in operator.
]
]
SaveWorkflowWebhookConfigInput
{
"enabled": true,
"target": "string",
"entrypointId": "string",
"entrypoint_id": "string",
"allowDraft": true,
"resetSecret": true,
"mapping": [
{
"bodyPath": "string",
"inputName": "string"
}
],
"filters": [
{
"conditions": [
{
"bodyPath": "string",
"operator": "equals",
"value": "string",
"values": [
"string"
]
}
]
}
]
}