Update /rest/system/reset to new behavior
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
POST /rest/system/reset
|
POST /rest/system/reset
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
Post with empty body to immediately *reset* Syncthing. This means
|
Post with empty body to erase the current index database and restart
|
||||||
renaming all folder directories to temporary, unique names, wiping all
|
Syncthing. With no query parameters, the entire database is erased from disk.
|
||||||
indexes and restarting. This should probably not be used during normal
|
By specifying the ``folder`` parameter with a valid folder ID, only
|
||||||
operations...
|
information for that folder will be erased::
|
||||||
|
|
||||||
|
$ curl -X POST -H "X-API-Key: abc123" http://localhost:8384/rest/system/reset?folder=default
|
||||||
|
|||||||
Reference in New Issue
Block a user