From 88f88a948d85f71443eda97aa00e795144afaa2c Mon Sep 17 00:00:00 2001 From: Majed Abdulaziz Date: Fri, 3 Jun 2016 09:58:38 +0000 Subject: [PATCH] Document lastScan field in /rest/stats/folder API endpoint GitHub-Pull-Request: https://github.com/syncthing/docs/pull/183 --- rest/stats-folder-get.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rest/stats-folder-get.rst b/rest/stats-folder-get.rst index 4aad42e0a..312ade267 100644 --- a/rest/stats-folder-get.rst +++ b/rest/stats-folder-get.rst @@ -1,14 +1,15 @@ GET /rest/stats/folder ====================== -Returns general statistics about folders. Currently, only contains the -last synced file. +Returns general statistics about folders. Currently contains the +last scan time and the last synced file. .. code-block:: bash $ curl -s http://localhost:8384/rest/stats/folder | json { "folderid" : { + "lastScan": "2016-06-02T13:28:01.288181412-04:00", "lastFile" : { "filename" : "file/name", "at" : "2015-04-16T22:04:18.3066971+01:00"