获取触发器原型详情
GET
http://172.16.14.11:8069/api/v1/hosts/template/triggerPrototype/2
接口描述
/api/v1/hosts/template/triggerPrototype/<int:template_id>
请求参数
参数名
类型
描述
必填
uid
string
用户uid
必填
token
string
用户授权码
必填
响应参数
参数名
类型
描述
必填
code
string
示例:200
必填
msg
string
示例:请求成功
必填
id
int
示例:2
必填
description
string
示例:交换机 {HOST.NAME} 是生成树树根
必填
expression
string
示例:{Template Name:stp.rootcost.last(#3)}=0
必填
comments
string
示例:修改触发器接口测试
必填
priority
string
示例:1
必填
recovery_mode
string
示例:1
必填
recovery_expression
string
示例:{Template Name:stp.rootcost.last(#3)}=1
必填
manual_close
boolean
示例:false
必填
type
boolean
示例:true
必填