GET /rest/system/connections

Note

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