I’m having issues with configuring the FsWatcherEnabled flag in the config via the REST API.
I’m using Ansible to manage an install of Syncthing as a part of a larger suite of software. I’m able to configure most of it correctly via the REST API. I’m able to add devices and folders correctly without an issue.
When setting the fsWatcherEnabled flag via Ansible, it doesn’t enable it in the config API response. I’ve restarted the Syncthing instance after the attempt with no success. I still have to go into the UI and enable it.
However, if I use Insomnia to manually send the JSON string and restart, it correctly configures the flag.
In fairness, I’m not seeing fsWatcherEnabled in the REST API documentation. However, if it weren’t configurable via API, then I wouldn’t be able to use Insomnia to send the JSON string.
I can post the Ansible code; however, I’m not sure if it would be of any help. I’ve looked at the Ansible echos and the flag is being sent, apparently correctly.
I realize you don’t support Ansible in any fashion. However, here, it shouldn’t be an issue since all Ansible is doing is commanding each server to perform an action. The action here is a curl to localhost:8384 with the appropriate API key in the headers and a JSON payload.
Any assistance you can provide would be much appreciated.