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
|
||||
======================
|
||||
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user