查询节点组详情
命令功能
查询节点组详情。按照指定的节点组ID,返回该节点组的详细信息,以及所有属于该节点组的节点详情。
命令格式
操作类型:GET
URL:https://{ip}:{port}/edgemanager/v1/nodegroup?id={id}
URL参数
参数  | 
是否必选  | 
参数说明  | 
取值要求  | 
|---|---|---|---|
id  | 
必选  | 
节点组ID  | 
32位无符号数。取值最小为1,最大值为2^32-1。  | 
使用样例
请求样例:
GET https://10.10.10.10:30035/edgemanager/v1/nodegroup?id=1
响应样例:
{
   "status": "00000000",
   "msg": "success",
   "data": {
       "createdAt": "2022-12-27 03:29:33",
       "updatedAt": "2022-12-27 03:29:33",
       "description": "node_group_description",
       "groupName": "node_group_name",
       "id": 1,
       "nodes": [
           {
                "createdAt": "2022-12-27 03:29:33",
                "description": "node_1_description",
                "id": 1,
                "ip": "xx.xx.xx.xx",
                "isManaged": true,
                "nodeName": "node-1",
                "nodeType": "",
                "serialNumber": "xxxxxxxxxxxx",
                "softwareInfo": "[{\"Name\":\"MEFEdge\",\"Version\":\"6.0.RC1\",\"InactiveVersion\":\"\"}]",
                "status": "ready",
                "uniqueName": "edge-66.67",
                "updatedAt": "2022-12-27 03:29:33",
           }
       ]
   }
}
响应状态码:200
输出说明
参数  | 
类型  | 
参数说明  | 
|---|---|---|
status  | 
字符串  | 
错误码  | 
msg  | 
字符串  | 
描述信息  | 
data  | 
对象  | 
节点组详细信息  | 
参数  | 
类型  | 
参数说明  | 
|---|---|---|
createdAt  | 
字符串  | 
节点组创建时间  | 
updatedAt  | 
字符串  | 
节点组修改时间  | 
description  | 
字符串  | 
节点组描述  | 
groupName  | 
字符串  | 
节点组名称  | 
id  | 
数字  | 
节点组ID  | 
nodes  | 
数组  | 
节点组内节点详情  | 
参数  | 
类型  | 
参数说明  | 
|---|---|---|
createdAt  | 
字符串  | 
节点创建时间  | 
description  | 
字符串  | 
节点描述  | 
nodeName  | 
字符串  | 
节点名  | 
id  | 
数字  | 
节点ID  | 
ip  | 
字符串  | 
节点IP  | 
isManaged  | 
布尔值  | 
节点是否被纳管  | 
nodeType  | 
字符串  | 
节点类型  | 
status  | 
字符串  | 
节点状态 
  | 
uniqueName  | 
字符串  | 
节点主机名  | 
updatedAt  | 
字符串  | 
节点修改时间  | 
serialNumber  | 
字符串  | 
节点序列号  | 
softwareInfo  | 
字符串  | 
节点软件信息  | 
父主题: 节点组管理