Automating synthing functions (add device, folder, etc...)

I want to automatically add devices and folders. We use secure messaging and want to request additions and automatically add them. I know the system config - but the GUI must use something different. Can you enlighten me on how this can be done?

The GUI uses the system/config endpoint.

so basically we have to load the entire config file make the updates and post them back out?


This may be stupid - but can we pause syncthing - directly read and write the config - then continue? or do we need to use the api to rewrite it?

You can of course change the config file after shutting down syncthing, but doing it via the API is generally preferable.

by using the api - will syncthing recognize the changes immediately

never mind - it was in the documentation - Thanks for your help

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.