查询类型更新结果

更新时间:
2025-01-15

查询类型更新结果

此接口用于查询所有节点类型是否已更新,与数据库中的原始数据进行对比。

接口描述

通信协议:HTTP

URL:GET /api/v1/node/type/check

传参方式:query

请求参数

响应参数

字段名 类型 说明
dataNode[ ]返回的节点详情

Node

字段名 类型 说明
idstring节点 ID
ipstring节点 IP 地址
portnumber节点服务端口
namestring节点名称
typestring节点类型
newTypestring更新后的节点类型

请求示例

curl --location --request GET 'http://localhost:3001/api/v1/node/type/check'

响应示例

{
    "status": 200,
    "message": "success",
    "fieldErrors": null,
    "data": [
      {
        "id": "667517ef1013173649689952308a31c72",
        "ip": "127.0.0.1",
        "port": 1112,
        "name": "testnode",
        "type": "sylixos", 
        "newType": "linux"
      }
   ]
}

错误码

具体请参见 错误码说明

文档内容是否对您有所帮助?
有帮助
没帮助