Quantcast
Channel: Syncthing Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 6210

REST POST config: define primary device

$
0
0

@WernerRaath wrote:

I have some server side logic that constructs the Syncthing config and then posts it to the specific device’s API.

What happens occasionally is that that specific device does not know which device in the devices list is it’s

Let’s say we have 2 devices with ids:

  1. 1234 - The device I’m POSTing the config to
  2. 5678

Sometimes device 1234 thinks it’s 5678.

Is there a parameter in that device JSON that can indicate that it is the main device for that Syncthing server?

Kind regards

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6210

Trending Articles