This repository was archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Getfolderpref
Mark Johnson edited this page Sep 15, 2013
·
2 revisions
Gets the current preferences for a folder
-
actiongetfolderpref -
tokenYour current token (see Session Initalisation) -
tThe current timestamp (optional) -
nameThe local path of the folder -
secretThe secret for the shared folder.
JSON string containing:
-
folderAn object containing the preferences for the folder:-
deletetotrashStore deleted files in SyncArchive? (1 for yes, 0 for no) -
iswritableDo you currently have write access to the folder? (1 for yes, 0 for no) -
readonlysecretThe read only secret for the folder -
relayUse relay server when required (1 for yes, 0 for no) -
searchdhtSearch DHT network for peers? (1 for yes, 0 for no) -
searchlanSearch LAN for peers? (1 for yes, 0 for no) -
usehostsUse predefined hosts? (1 for yes, 0 for no) -
usetrackerUse tracker server? (1 for yes, 0 for no)
-