Update docs & translations
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.\" Man page generated from reStructuredText.
|
||||
.
|
||||
.TH "SYNCTHING-REST-API" "7" "November 04, 2015" "v0.12" "Syncthing"
|
||||
.TH "SYNCTHING-REST-API" "7" "November 09, 2015" "v0.12" "Syncthing"
|
||||
.SH NAME
|
||||
syncthing-rest-api \- REST API
|
||||
.
|
||||
@@ -83,30 +83,63 @@ the corresponding GET request. The configuration will be saved to disk and the
|
||||
\fBconfigInSync\fP flag set to false. Restart Syncthing to activate.
|
||||
.SS GET /rest/system/connections
|
||||
.sp
|
||||
Returns the list of current connections and some metadata associated
|
||||
with the connection/peer.
|
||||
\fBNOTE:\fP
|
||||
.INDENT 0.0
|
||||
.INDENT 3.5
|
||||
Return format changed in 0.12.0.
|
||||
.UNINDENT
|
||||
.UNINDENT
|
||||
.sp
|
||||
Returns the list of configured devices and some metadata associated
|
||||
with them. The list also contains the local device itself as not connected.
|
||||
.INDENT 0.0
|
||||
.INDENT 3.5
|
||||
.sp
|
||||
.nf
|
||||
.ft C
|
||||
{
|
||||
"connections": {
|
||||
"SMAHWLH\-AP74FAB\-QWLDYGV\-Q65ASPL\-GAAR2TB\-KEF5FLB\-DRLZCPN\-DJBFZAG": {
|
||||
"address": "172.21.20.78:22000",
|
||||
"at": "2015\-03\-16T21:51:38.672758819+01:00",
|
||||
"clientVersion": "v0.10.27",
|
||||
"inBytesTotal": 415980,
|
||||
"outBytesTotal": 396300
|
||||
}
|
||||
},
|
||||
"total": {
|
||||
"address": "",
|
||||
"at": "2015\-03\-16T21:51:38.672868814+01:00",
|
||||
"clientVersion": "",
|
||||
"inBytesTotal": 415980,
|
||||
"outBytesTotal": 396300
|
||||
}
|
||||
"total" : {
|
||||
"paused" : false,
|
||||
"clientVersion" : "",
|
||||
"at" : "2015\-11\-07T17:29:47.691637262+01:00",
|
||||
"connected" : false,
|
||||
"inBytesTotal" : 1479,
|
||||
"type" : "direct\-accept",
|
||||
"outBytesTotal" : 1318,
|
||||
"address" : ""
|
||||
},
|
||||
"connections" : {
|
||||
"YZJBJFX\-RDBL7WY\-6ZGKJ2D\-4MJB4E7\-ZATSDUY\-LD6Y3L3\-MLFUYWE\-AEMXJAC" : {
|
||||
"connected" : true,
|
||||
"inBytesTotal" : 556,
|
||||
"paused" : false,
|
||||
"at" : "2015\-11\-07T17:29:47.691548971+01:00",
|
||||
"clientVersion" : "v0.12.1",
|
||||
"address" : "127.0.0.1:22002",
|
||||
"type" : "direct\-dial",
|
||||
"outBytesTotal" : 550
|
||||
},
|
||||
"DOVII4U\-SQEEESM\-VZ2CVTC\-CJM4YN5\-QNV7DCU\-5U3ASRL\-YVFG6TH\-W5DV5AA" : {
|
||||
"outBytesTotal" : 0,
|
||||
"type" : "direct\-accept",
|
||||
"address" : "",
|
||||
"at" : "0001\-01\-01T00:00:00Z",
|
||||
"clientVersion" : "",
|
||||
"paused" : false,
|
||||
"inBytesTotal" : 0,
|
||||
"connected" : false
|
||||
},
|
||||
"UYGDMA4\-TPHOFO5\-2VQYDCC\-7CWX7XW\-INZINQT\-LE4B42N\-4JUZTSM\-IWCSXA4" : {
|
||||
"address" : "",
|
||||
"type" : "direct\-accept",
|
||||
"outBytesTotal" : 0,
|
||||
"connected" : false,
|
||||
"inBytesTotal" : 0,
|
||||
"paused" : false,
|
||||
"at" : "0001\-01\-01T00:00:00Z",
|
||||
"clientVersion" : ""
|
||||
}
|
||||
}
|
||||
}
|
||||
.ft P
|
||||
.fi
|
||||
|
||||
Reference in New Issue
Block a user