接口描述:传入当前节点id,获取节点和节点子级目录。
URL地址:http://ip:port /wapi/v1/paths/diagram_path/{nodeId}/node_id
访问方法::Get
请求参数:
Path参数
参数名 | 类型 | 示例值 | 必填 | 说明 |
---|---|---|---|---|
nodeId | Long | 24000000433203 | 是 | 节点id |
{
"code": 200,
"data": [
[
{
"route": "24000000000001/24000000426947",
"level": 0,
"parent_id": 24000000000001,
"permissions": "need to configure permissions",
"vis_node_id": 3198214,
"name": "3D",
"id": 24000000426947,
"type_group": 26000000000004,
"drill_down": null
},
{
"route": "24000000000001/24000000173160",
"level": 0,
"parent_id": 24000000000001,
"permissions": "need to configure permissions",
"vis_node_id": 2675992,
"name": "CAD",
"id": 24000000173160,
"type_group": 26000000000004,
"drill_down": null
}
]
]
}
接口描述:传入当前节点id,获取节点子级目录。
URL地址:http://ip:port /wapi/v1/paths/ drill_down/{nodeId}/node_id
访问方法::Get
请求参数:
Path参数
参数名 | 类型 | 示例值 | 必填 | 说明 |
---|---|---|---|---|
nodeId | Long | 24000000433203 | 是 | 节点id |
[
{
"route": "24000000000001/24000000433203/24000000433290",
"parent_id": 24000000433203,
"permissions": "need to configure permissions",
"vis_node_id": 3222994,
"name": "3D场景节点",
"id": 24000000433290,
"type_group": 26000000132614
},
{
"route": "24000000000001/24000000433203/24000000433284",
"parent_id": 24000000433203,
"permissions": "need to configure permissions",
"vis_node_id": 3222989,
"name": "3D场景节点",
"id": 24000000433284,
"type_group": 26000000132614
}
]