Author Topic: uplink status JSON response  (Read 20 times)

0 Members and 1 Guest are viewing this topic.

razwall

  • Administrator
  • Newbie
  • *****
  • Posts: 26
    • View Profile
uplink status JSON response
« on: January 08, 2025, 02:04:37 PM »
{
   "cacheHitAt": 1731600455.4530821,
   "cachedOn": 1731600454.6696789,
   "time": 1731600454.66975,
   "uplinks": [
      {
         "status": "ACTIVE",
         "defaultGatewayTimestamp": 1731349117.8499999,
         "managed": "on",
         "shouldBeUp": true,
         "canStart": true,
         "isLinkAlive": true,
         "data": {
            "name": "'Main uplink'",
            "ip": "x.x.x.x",
            "last_retry": "",
            "interface": "eth3",
            "type": "STATIC",
            "gateway": "x.x.x.x"
         },
         "defaultGateway": true,
         "uptime": "2d 21h 50m 14s",
         "name": "main",
         "isLinkActive": true,
         "enabled": "on",
         "autostart": "on",
         "hasChanged": true
      },
      {
         "status": "ACTIVE",
         "defaultGatewayTimestamp": -1,
         "managed": "on",
         "shouldBeUp": true,
         "canStart": true,
         "isLinkAlive": true,
         "data": {
            "name": "'WAN2'",
            "ip": "x.x.x.x",
            "last_retry": "",
            "interface": "eth2",
            "type": "DHCP",
            "gateway": "x.x.x.x"
         },
         "defaultGateway": false,
         "uptime": "2d 21h 49m 37s",
         "name": "uplink1",
         "isLinkActive": true,
         "enabled": "on",
         "autostart": "on",
         "hasChanged": true
      }
   ],
   "cached": true
}

{
   "cacheHitAt":1735250063,
   "cached":true,
   "time":1735250063,
   "cachedOn":1735250063,
   "uplinks": [
      {
         "managed":"on",
         "defaultGatewayTimestamp":"1731349077",
         "isLinkAlive":true,
         "enabled":"on",
         "name":"uplink1",
         "shouldBeUp":true,
         "uptime":"9d 3h 30m 48s",
         "data": {
            "last_retry":"",
            "ip":"x.x.x.x",
            "name":"'WAN2'",
            "type":"DHCP",
            "gateway":"x.x.x.x",
            "interface":"eth2"
         },
         "isLinkActive":true,
         "autostart":"on",
         "defaultGateway":false,
         "status":"ACTIVE",
         "hasChanged":true,
         "canStart":true
      },
      {
         "autostart":"on",
         "defaultGateway":true,
         "isLinkActive":true,
         "status":"ACTIVE",
         "hasChanged":true,
         "canStart":true,
         "managed":"on",
         "defaultGatewayTimestamp":"1731349040",
         "isLinkAlive":true,
         "enabled":"on",
         "name":"main",
         "shouldBeUp":true,
         "uptime":"9d 3h 30m 48s",
         "data": {
            "type":"STATIC",
            "gateway":"x.x.x.x",
            "ip":"x.x.x.x",
            "name":"'Main uplink'",
            "last_retry":"",
            "interface":"eth3"
         }
      }
   ]
}