接口描述:获取nVisual内主视图区连线模型库数据,支持筛选和分页。
URL地址:http://ip:port /wapi/v1/diagram_link_types
访问方法::Get
请求参数:
Parame参数
参数名 | 类型 | 示例值 | 必填 | 说明 |
---|---|---|---|---|
keyword | String | Link3 | 否 | 连线类型名称筛选,支持模糊查询 |
favorite | bool | false | 否 | 是否收藏筛选 |
per_page | integer | 50 | 否 | 页面大小 |
page | integer | 0 | 否 | 页码 |
{
"page_size": 50,
"page": 0,
"page_count": 0,
"number_of_elements": 1,
"total_elements": 1,
"items": [
{
"id": 27000000000067,
"name": "Link3-Blue",
"color": "#2a4bf4",
"thickness": 3,
"linkStyle": 0,
"categoryId": 130006,
"snappedToEdge": true,
"matchingPortConnectors": null,
"useForAcraPatch": null,
"excludableFromAcra": true,
"mode": null,
"vendorId": 782,
"description": "IP链路(蓝色)",
"background": "0kpjm23w.png",
"htLinkType": "{\"linkType\":\"h.v\",\"startArrowHead\":null,\"endArrowHead\":null,\"autoArrangement\":false}",
"topLeftX": null,
"topLeftY": null,
"bottomRightX": null,
"bottomRightY": null,
"enabled": true,
"system": false,
"favourite": true
}
]
}