GET /rest/system/connections

Note

Return format changed in versions 0.13.0 and 1.19.0.

Returns the list of configured devices and some metadata associated with them. The list also contains the local device itself as not connected.

The connection types are TCP (Client), TCP (Server), Relay (Client) and Relay (Server).

  1. {
  2. "total" : {
  3. "at" : "2015-11-07T17:29:47.691637262+01:00",
  4. "inBytesTotal" : 1479,
  5. "outBytesTotal" : 1318,
  6. },
  7. "connections" : {
  8. "YZJBJFX-RDBL7WY-6ZGKJ2D-4MJB4E7-ZATSDUY-LD6Y3L3-MLFUYWE-AEMXJAC" : {
  9. "connected" : true,
  10. "inBytesTotal" : 556,
  11. "paused" : false,
  12. "at" : "2015-11-07T17:29:47.691548971+01:00",
  13. "startedAt" : "2015-11-07T00:09:47Z",
  14. "clientVersion" : "v0.12.1",
  15. "address" : "127.0.0.1:22002",
  16. "type" : "TCP (Client)",
  17. "outBytesTotal" : 550
  18. },
  19. "DOVII4U-SQEEESM-VZ2CVTC-CJM4YN5-QNV7DCU-5U3ASRL-YVFG6TH-W5DV5AA" : {
  20. "outBytesTotal" : 0,
  21. "type" : "",
  22. "address" : "",
  23. "at" : "0001-01-01T00:00:00Z",
  24. "startedAt" : "0001-01-01T00:00:00Z",
  25. "clientVersion" : "",
  26. "paused" : false,
  27. "inBytesTotal" : 0,
  28. "connected" : false
  29. },
  30. "UYGDMA4-TPHOFO5-2VQYDCC-7CWX7XW-INZINQT-LE4B42N-4JUZTSM-IWCSXA4" : {
  31. "address" : "",
  32. "type" : "",
  33. "outBytesTotal" : 0,
  34. "connected" : false,
  35. "inBytesTotal" : 0,
  36. "paused" : false,
  37. "at" : "0001-01-01T00:00:00Z",
  38. "startedAt" : "0001-01-01T00:00:00Z",
  39. "clientVersion" : ""
  40. }
  41. }
  42. }