This repository has been 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
-
action
getfolderpref -
token
Your current token (see Session Initalisation) -
t
The current timestamp (optional) -
name
The local path of the folder -
secret
The secret for the shared folder.
JSON string containing:
-
folder
An object containing the preferences for the folder:-
deletetotrash
Store deleted files in SyncArchive? (1 for yes, 0 for no) -
iswritable
Do you currently have write access to the folder? (1 for yes, 0 for no) -
readonlysecret
The read only secret for the folder -
relay
Use relay server when required (1 for yes, 0 for no) -
searchdht
Search DHT network for peers? (1 for yes, 0 for no) -
searchlan
Search LAN for peers? (1 for yes, 0 for no) -
usehosts
Use predefined hosts? (1 for yes, 0 for no) -
usetracker
Use tracker server? (1 for yes, 0 for no)
-