lfam
(lf)
July 8, 2015, 7:13pm
1
Does anyone know how to use the discovery hint interface? I can’t get it to work, although I can use other parts of the API.
It was introduced here:
And documented here:
http://docs.syncthing.net/rest/system-discovery-hint-post.html
$ STTRACE=discover,http syncthing
$ curl -X POST --header "X-API-Key:exampleapikey" http://127.0.0.1:8080/rest/system/discovery/hint?device=REMOTE-EXAMPL-EDEVIC-E12345\&addr=192.0.2.1:22000
404 page not found
And then in the logs:
[LOCAL] 2015/07/08 15:07:53.893464 gui.go:309: DEBUG: http: POST "/rest/system/discovery/hint?device=REMOTE-EXAMPL-EDEVIC-E12345&addr=192.0.2.1:22000": status 404, 19 bytes in 0.25 ms
Alex
(Alex)
July 8, 2015, 7:48pm
2
the documentation or the code is wrong, it seems to be /rest/system/discovery
, without /hint
calmh
(Jakob Borg)
September 14, 2015, 8:27pm
3
@lfam
Do you use this feature? What for?
/cc @Nutomic as the original requester, @Zillode as another involved Android wrapper…
lfam
(lf)
September 14, 2015, 10:06pm
6
I’m not actively using that part of the interface.
I had wanted to connect it to a external, decentralized discovery system, but I lost steam and haven’t completed it.
I still would like to make that system work, so something like the discovery hints would be useful.
1 Like
calmh
(Jakob Borg)
Split this topic
September 15, 2015, 5:46am
7
A post was split to a new topic: Own web page using the REST API
Nutomic
(Felix Ableitner)
September 15, 2015, 10:00am
8
I just grepped, we don’t use that anywhere.
1 Like
calmh
(Jakob Borg)
Closed
October 15, 2015, 10:01am
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.