Adding folders and devices via REST API

Interested if seeing if there’s a way to programmatically add folders and devices via the REST API

1 Like

https://docs.syncthing.net/rest/system-config-post.html

1 Like

Or even better: https://docs.syncthing.net/rest/config.html

1 Like

Ah, so POST the same config as GET response? With newly added folder and device JSON objects?

NOTE: the docs says this command is deprecated ?

1 Like

Yes, or:

1 Like

Awesome !!

Thanks for the fast response !!

A post was split to a new topic: Automatic handling of new devices to be shared in a folder