Add a device using POST

Hi all, I have a question on adding a new device and shared folder to Syncthing without using the web GUI. What I am currently doing is to create a new config file with the new node added in and restart Syncthing using this config file.

I am searching for a more decent way to accomplish this. For example, is it possible for me to use the REST interface to add a device, via POST?

Yes, by posting a new config to /rest/system/config.

It does not require a restart either, despite what that doc page claims (I’ll fix that).

Thanks. Try it now. :slight_smile:

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