Document lastScan field in /rest/stats/folder API endpoint

GitHub-Pull-Request: https://github.com/syncthing/docs/pull/183
This commit is contained in:
Majed Abdulaziz
2016-06-03 09:58:38 +00:00
committed by Audrius Butkevicius
parent 936cef6ddd
commit 88f88a948d
+3 -2
View File
@@ -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"