uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
“uip 资源 Webhook”的语法和选项,用于管理因平台事件而触发的 Orchestrator HTTP 回调。
管理 Orchestrator Webhook — 在平台事件(作业完成、队列项目失败等)时触发的 HTTP 回调。Webhook 在租户范围内。
有关跨资源约定(身份验证、密钥类型、输出信封),请参阅uip resource概述。
大纲
uip resource webhooks list [-n <name>] [--enabled | --disabled]
uip resource webhooks get <webhook-key>
uip resource webhooks create --name <n> --url <url> [-d <desc>] [--events <list>] [--secret <s>] [--allow-insecure-ssl]
uip resource webhooks update <webhook-key> [flags as for create]
uip resource webhooks delete <webhook-key>
uip resource webhooks ping <webhook-key>
uip resource webhooks event-types
uip resource webhooks list [-n <name>] [--enabled | --disabled]
uip resource webhooks get <webhook-key>
uip resource webhooks create --name <n> --url <url> [-d <desc>] [--events <list>] [--secret <s>] [--allow-insecure-ssl]
uip resource webhooks update <webhook-key> [flags as for create]
uip resource webhooks delete <webhook-key>
uip resource webhooks ping <webhook-key>
uip resource webhooks event-types
列表
列出 Webhook。筛选器: -n, --name 、 --enabled 、 --disabled (互斥)。
get
按密钥获取 Webhook 详细信息,包括订阅的事件和 SSL 设置。
创建
创建 Webhook。必填项--name , --url 。可选的-d, --description 、 --events <comma-list> (可订阅所有事件类型可省略)、 --secret 、 --allow-insecure-ssl 。
uip resource webhooks create --name JobAlerts \
--url https://hooks.example.com/uipath \
--events "job.completed,job.faulted"
uip resource webhooks create --name JobAlerts \
--url https://hooks.example.com/uipath \
--events "job.completed,job.faulted"
更新
按密钥更新。提供--events会将 Webhook 从“订阅全部”切换到给定列表。
删除
通过密钥删除 Webhook。
Ping
向 Webhook URL 发送测试 ping 以验证连接。
事件类型
列出 Webhook 可以订阅的所有事件类型。将返回的名称与create --events或update --events一起使用。
uip resource webhooks event-types
uip resource webhooks event-types
另请参阅
uip resource概述— 每个uip resource动词的共享约定。- 操作方法:管理 Orchestrator 资产和队列— Webhook 创建模式。