Skip to content

节点状态

  • 接口

    GET&POST /node_stats

  • 请求参数

  • 返回 JSON:

    参数类型必返说明
    msgstr返回消息
    codeint返回状态码
    datalist详见下方
    statestr请求是否成功

    data

    当上方 statesuccess 返回

    参数类型必返说明
    total_traffic_inint今日总下载流量 byte
    total_traffic_outint今日总上传流量 byte
    cur_countsint活跃的连接数
    node_namestr节点名
    idint节点ID
    statestr节点状态 offline或online
    bandwidth_usage_percentint带宽负载
    cpu_usagefloatCPU负载
    nodegroupstr节点权限
    client_countsstr节点在线客户端

Released under the MIT License.