Thanks for quick reply, I have found external syncthing cli tool that can work via REST API: https://github.com/classicsc/syncthingmanager - I’ll try it, hope that it can solve all tasks.
Yes this is a bit annoying.
An easy way around that is to access the remote web interface using a ssh socks proxy (so no need to expose the http to the Internet).
There is no problem with organizing direct access to web interface. The main problem is that I can’t automate actions via scripts in web interface! Our company have many computers and configure folder sync via hands on each computer is too expensive.
Before I use Seafile server, and via seaf-cli I can configure all things via ssh shell and automate via scripts. But Seafile don’t support one-way sync (send only mode), so I searching alternative to Seafile with read-only sync.