Document lastScan field in /rest/stats/folder API endpoint
GitHub-Pull-Request: https://github.com/syncthing/docs/pull/183
This commit is contained in:
committed by
Audrius Butkevicius
parent
936cef6ddd
commit
88f88a948d
@@ -1,14 +1,15 @@
|
|||||||
GET /rest/stats/folder
|
GET /rest/stats/folder
|
||||||
======================
|
======================
|
||||||
|
|
||||||
Returns general statistics about folders. Currently, only contains the
|
Returns general statistics about folders. Currently contains the
|
||||||
last synced file.
|
last scan time and the last synced file.
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ curl -s http://localhost:8384/rest/stats/folder | json
|
$ curl -s http://localhost:8384/rest/stats/folder | json
|
||||||
{
|
{
|
||||||
"folderid" : {
|
"folderid" : {
|
||||||
|
"lastScan": "2016-06-02T13:28:01.288181412-04:00",
|
||||||
"lastFile" : {
|
"lastFile" : {
|
||||||
"filename" : "file/name",
|
"filename" : "file/name",
|
||||||
"at" : "2015-04-16T22:04:18.3066971+01:00"
|
"at" : "2015-04-16T22:04:18.3066971+01:00"
|
||||||
|
|||||||
Reference in New Issue
Block a user