查询被MindEdge Framework纳管的节点列表。URL参数用于对数据的分页查询,返回已纳管节点详情,以及这些节点加入的节点组。
操作类型:GET
URL:https://{ip}:{port}/edgemanager/v1/node/list/managed?pageNum={pageNum}&pageSize={pageSize}&name={name}
参数 |
类型 |
参数说明 |
取值要求 |
---|---|---|---|
pageSize |
必选 |
页面大小 |
取值为1~100的整数。 |
pageNum |
必选 |
取值页数,为序数词 |
取值最小为1,最大值为2^31-1。 |
name |
可选 |
模糊查找的搜索关键词 |
字符串,长度为0~253位的字符串,不能包含空白字符。 |
请求样例:
GET https://10.10.10.10:30035/edgemanager/v1/node/list/managed?pageNum=1&pageSize=20&name=node-1
响应样例:
{
"status": "00000000",
"msg": "success",
"data": {
"nodes": [
{
"createdAt": "2025-2-27 03:29:33",
"description": "node_1_description",
"id": 1,
"ip": "xx.xx.xx.xx",
"isManaged": true,
"nodeGroup": "node_group_1",
"nodeName": "node-1",
"nodeType": "",
"serialNumber": "xxxxxxxxxxxxxxx",
"softwareInfo": "[{\"Name\":\"MEFEdge\",\"Version\":\"7.0.RC1\",\"InactiveVersion\":\"\"}]",
"status": "ready",
"uniqueName": "edge-66.67",
"updatedAt": "2025-2-27 03:29:33"
}
],
"total": 1
}
}
响应状态码:200
参数 |
类型 |
参数说明 |
---|---|---|
status |
字符串 |
错误码 |
msg |
字符串 |
描述信息 |
data |
对象 |
查询结果 |
参数 |
类型 |
参数说明 |
---|---|---|
nodes |
数组 |
被纳管的节点详情 |
total |
数字 |
查询到的节点总数 |
参数 |
类型 |
参数说明 |
---|---|---|
createdAt |
字符串 |
节点创建时间 |
description |
字符串 |
节点描述 |
id |
数字 |
节点ID |
ip |
字符串 |
节点IP |
isManaged |
布尔值 |
节点是否被纳管 |
nodeGroup |
字符串 |
节点加入的节点组名称,用英文逗号进行分割 |
nodeName |
字符串 |
节点名 |
nodeType |
字符串 |
节点类型 |
serialNumber |
字符串 |
节点序列号 |
softwareInfo |
字符串 |
节点软件信息 |
status |
字符串 |
节点状态
|
uniqueName |
字符串 |
节点主机名 |
updatedAt |
字符串 |
节点修改时间 |