Skip to main content

查询路由详情

接口说明

调用该接口查询路由详情。

URI

get /rules/{id}

请求参数

名称参数位置类型描述是否必须
idpathstring路由idRequired

响应

响应<200>

Code描述类型
200OKObject(ruleRule)

ruleRule

字段名类型描述
created_atstring创建时间
descstring描述
devices_statusinteger路由设备数量
idstring路由id
model_idstring模板id
model_namestring模板名称
namestring名称
statusinteger状态 1 运行中, 状态 0 停止
sub_idinteger错误订阅id
targets_statusinteger路由目标数量
typeinteger类型 1 消息路由, 类型 2 时序路由
updated_atstring更新时间