Skip to content

节点在线率

  • 接口

    GET&POST /node_uptime

  • 请求参数

    JSON:

    参数类型必填说明
    timeint返回多少天的uptime数据,最大90天
    nodestr节点名称
  • 返回 JSON:

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

    data

    当上方 statesuccess 返回

    参数类型必返说明
    node_namestr节点名
    statestr节点状态 offline或online
    idint节点ID
    history_uptimelist节点uptime统计
    groupint节点权限组

    history_uptime

    参数类型必返说明
    recorded_atstr当天日期
    uptimefloat该时间的节点在线率

Released under the MIT License.