The Result Data Object

This is a breakout of the result data object:


  {
    "id": "xxxxx",
    "url": "https://www.netscan.co/r/xxxxx",
    "finalized": true,
    "version": "1.2.5",
    "token": "xxxxx",
    "user": "xxxxx",
    "data": {},
    "scanSource": "api",
    "summary": {
      "behindNat": "true",
      "canPerformWebrtc": "true",
      "canPerformWebrtcP2P": "true",
      "hasIpv6": "false",
      "inboundTcp": "false",
      "inboundUdp": "true",
      "outboundTcp": "maybe",
      "outboundUdp": "maybe",
      "supportsWebrtc": "true",
      "supportsWebsockets": "true",
      "websocketsConnect": "true"
      "latency": {
        "icmp": {
          "hasTest": true,
          "packetLoss": 0,
          "avgTime": 0.057,
        },
        "xhrHttp": {
          "hasTest": true,
          "avgTime": 340,
        },
        "xhrHttps": {
          "hasTest": true,
          "avgTime": 540,
        },
        "ws": {
          "hasTest": true,
          "avgTime": 130,
        },
        "wss": {
          "hasTest": true,
          "avgTime": 127,
        },
      }
    },
    "createdAt": "2015-06-04T18:09:10.942Z",
    "results": {
      "creatorIp": "127.0.0.1",
      "hasProxy": false,
      "isPrivate": false,
      "clientFinished": true,
      "latencyFinished": true,
      "latencyCountExpected": 1,
      "latencyCountPerformed": 1,
      "latencyTimedout": false,
      "hasCustomIce": true,
      "turnServer": "turn:turn.netscan.co:3478?transport=udp",
      "latency": [{
        "server": "us-east-1",
        "ip": "127.0.0.1",
        "pingParams": {
          "wait": 0.5,
          "waitTime": 5,
          "timeout": 8,
          "packets": 5
        },
        "latencyResults": {
          "packetsSent": 5,
          "packetsReceived": 5,
          "time": 3.454,
          "rawOutput": "PING 127.0.0.1 (127.0.0.1): 56 data bytes\n64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.045 ms\n64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.230 ms\n64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.083 ms\n64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.060 ms\n64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.040 ms\n\n--- 127.0.0.1 ping statistics ---\n5 packets transmitted, 5 packets received, 0.0% packet loss\nround-trip min/avg/max/stddev = 0.040/0.092/0.230/0.071 ms\n",
          "min": 0.04,
          "avg": 0.092,
          "max": 0.23,
          "stddev": 0.071,
          "packetLoss": "0.0%",
          "packetLossFlt": 0
        },
      }],
      "screen": {
        "availHeight": 877,
        "availLeft": 0,
        "availTop": 23,
        "availWidth": 1440,
        "colorDepth": 24,
        "height": 900,
        "pixelDepth": 24,
        "width": 1440
      },
      "supports": {
        "cookies": true,
        "es5array": true,
        "es5date": true,
        "es5function": true,
        "es5object": true,
        "es5string": true,
        "es5strictmode": false,
        "eventlistener": true,
        "filereader": false,
        "filesystem": false,
        "flash": true,
        "flashBlocked": false,
        "geolocation": false,
        "history": true,
        "json": true,
        "touchevents": false,
        "video": true,
        "websockets": true,
        "webgl": true,
        "cors": true,
        "webrtc": true,
        "videoCodecs": {
          "h264": "probably",
          "ogg": "probably",
          "vp9": "probably",
          "webm": "probably"
        },
        "webrtcFeatures": {
          "prefix": "webkit",
          "vendor": "webkit",
          "isPlugin": false,
          "pluginVersion": "",
          "data": true,
          "audio": true,
          "video": true,
          "mediastream": false
        }
      },
      "headers": {
        "content-length": "5683",
        "total-route-time": "0",
        "x-request-start": "1422983455123",
        "connect-time": "1",
        "via": "1.1 vegur",
        "accept-language": "en,el-GR;q=0.8,el;q=0.6",
        "accept-encoding": "gzip, deflate",
        "referer": "https://www.netscan.co/",
        "content-type": "application/json",
        "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.94 Safari/537.36",
        "x-api-token": "xxxxx",
        "origin": "http://www.netscan.co",
        "accept": "application/json",
        "connection": "close",
        "host": "check-connectivity.herokuapp.com"
      },
      "useragent": {
        "browserVersion": "40.0.2214",
        "browser": "Chrome",
        "isTablet": false,
        "isPhone": false,
        "isMobile": false,
        "deviceVersion": "Other",
        "device": "Other",
        "osVersion": "10.10.2",
        "os": "Mac OS X"
      },
      "xhr": {
        "80": {
          "port": 80,
          "connected": false,
          "latency": 0,
          "retries": 3
        },
        "443": {
          "port": 443,
          "connected": false,
          "latency": 0,
          "retries": 3
        }
      },
      "websockets": {
        "wss": {
          "status": "success",
          "avgLatency": 130,
          "receive": true,
          "send": true,
          "open": true,
          "connected": true,
          "ssl": true
        },
        "ws": {
          "status": "success",
          "avgLatency": 126,
          "receive": true,
          "send": true,
          "open": true,
          "connected": true,
          "ssl": false
        }
      },
      "webrtc": {
        "nat": true,
        "tcp": false,
        "udp": true,
        "hasIpv6": false,
        "hasTurn": true,
        "tcpTurn": true,
        "udpTurn": true,
        "iceServers": [
          {
            "username": "netscan",
            "credential": "xxx",
            "urls": [
              "turn:turn.example.com:3478?transport=tcp",
              "turn:turn.example.com:3479?transport=tcp"
            ]
          }
        ],
        "candidates": [{
          "candidate": "candidate:3022624816 1 udp 2122260223 x.x.x.x 59248 typ host generation 0",
          "type": "host",
          "ip": "x.x.x.x",
          "isIpv6": false,
          "protocol": "udp",
          "isLocal": "true",
          "medium": "audio",
          "time": "1433258692180",
          "transportProtocol": "tcp"
        }]]
      },
      "plugins": [{
        "version": "",
        "name": "Chrome PDF Viewer",
        "filename": "mhjfbmdgcfjbbpaeojofohoefgiehjai",
        "description": ""
      }, {
        "version": "",
        "name": "Shockwave Flash",
        "filename": "PepperFlashPlayer.plugin",
        "description": "Shockwave Flash 17.0 r0"
      }],
      "hasGeoip": true,
      "geoipFinished":true,
      "geoipError": false,
      "geoipErrorMessage": "",
      "geoipTimedout": false,
      "geoip": {
        "ip": "127.0.0.1",
        "lat": "10.1234",
        "lng": "20.1234",
        "timezone": "Europe/Athens",
        "postalCode": "",
        "city": "Thessaloniki",
        "region1Name": "Central Macedonia",
        "region1Iso": "B",
        "region2Name": "Thessaloniki",
        "region2Iso": "54",
        "region3Name": "",
        "region3Iso": "",
        "region4Name": "",
        "region4Iso": "",
        "countryName": "Greece",
        "countryIso": "GR",
        "continentName": "Europe",
        "continentCode": "EU",
        "organization": "OTEnet S.A.",
        "domain": "otenet.gr",
        "isp": "OTEnet S.A."
      }
    }
  }