syncthing-event-api.7 31 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .
  4. .nr rst2man-indent-level 0
  5. .
  6. .de1 rstReportMargin
  7. \\$1 \\n[an-margin]
  8. level \\n[rst2man-indent-level]
  9. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  10. -
  11. \\n[rst2man-indent0]
  12. \\n[rst2man-indent1]
  13. \\n[rst2man-indent2]
  14. ..
  15. .de1 INDENT
  16. .\" .rstReportMargin pre:
  17. . RS \\$1
  18. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  19. . nr rst2man-indent-level +1
  20. .\" .rstReportMargin post:
  21. ..
  22. .de UNINDENT
  23. . RE
  24. .\" indent \\n[an-margin]
  25. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  26. .nr rst2man-indent-level -1
  27. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  28. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  29. ..
  30. .TH "SYNCTHING-EVENT-API" "7" "Sep 14, 2025" "v2.0.0" "Syncthing"
  31. .SH NAME
  32. syncthing-event-api \- Event API
  33. .SH DESCRIPTION
  34. .sp
  35. Syncthing provides a simple long polling interface for exposing events from the
  36. core utility towards a GUI. To receive events, see \fI\%GET /rest/events\fP\&.
  37. .SH EVENT STRUCTURE
  38. .sp
  39. Each event is represented by an object similar to the following:
  40. .INDENT 0.0
  41. .INDENT 3.5
  42. .sp
  43. .EX
  44. {
  45. \(dqid\(dq: 2,
  46. \(dqglobalID\(dq: 3,
  47. \(dqtype\(dq: \(dqDeviceConnected\(dq,
  48. \(dqtime\(dq: \(dq2014\-07\-13T21:04:33.687836696+02:00\(dq,
  49. \(dqdata\(dq: {
  50. \(dqaddr\(dq: \(dq172.16.32.25:22000\(dq,
  51. \(dqid\(dq: \(dqNFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG\(dq
  52. }
  53. }
  54. .EE
  55. .UNINDENT
  56. .UNINDENT
  57. .sp
  58. The top level keys \fBid\fP, \fBglobalID\fP, \fBtime\fP, \fBtype\fP and \fBdata\fP are always present,
  59. though \fBdata\fP may be \fBnull\fP\&.
  60. .INDENT 0.0
  61. .TP
  62. .B id
  63. A unique ID for this event on the events API. It always increases by 1: the first
  64. event generated has id \fB1\fP, the next has id \fB2\fP etc. If this increases by
  65. more than 1, then one or more events have been skipped by the events API.
  66. .TP
  67. .B globalID
  68. A global ID for this event, across the events API, the audit log, and any other
  69. sources. It may increase by more than 1, but it will always be greater
  70. than or equal to the id.
  71. .TP
  72. .B time
  73. The time the event was generated.
  74. .TP
  75. .B type
  76. Indicates the type of (i.e. reason for) the event and is one of the event
  77. types below.
  78. .TP
  79. .B data
  80. An object containing optional extra information; the exact structure is
  81. determined by the event type.
  82. .UNINDENT
  83. .SH EVENT TYPES
  84. .SS ClusterConfigReceived
  85. .sp
  86. Added in version 1.20.0.
  87. .sp
  88. The \fBClusterConfigReceived\fP event is emitted after processing such a protocol
  89. message received from a remote device. It is mainly used for internal purposes.
  90. .INDENT 0.0
  91. .INDENT 3.5
  92. .sp
  93. .EX
  94. {
  95. \(dqid\(dq: 84,
  96. \(dqglobalID\(dq: 84,
  97. \(dqtype\(dq: \(dqClusterConfigReceived\(dq,
  98. \(dqtime\(dq: \(dq2022\-04\-27T14:14:27.043576583+09:00\(dq,
  99. \(dqdata\(dq: {
  100. \(dqdevice\(dq: \(dqI6KAH76\-66SLLLB\-5PFXSOA\-UFJCDZC\-YAOMLEK\-CP2GB32\-BV5RQST\-3PSROAU\(dq
  101. }
  102. }
  103. .EE
  104. .UNINDENT
  105. .UNINDENT
  106. .SS ConfigSaved
  107. .sp
  108. Emitted after the config has been saved by the user or by Syncthing
  109. itself.
  110. .INDENT 0.0
  111. .INDENT 3.5
  112. .sp
  113. .EX
  114. {
  115. \(dqid\(dq: 50,
  116. \(dqglobalID\(dq: 50,
  117. \(dqtype\(dq: \(dqConfigSaved\(dq,
  118. \(dqtime\(dq: \(dq2014\-12\-13T00:09:13.5166486Z\(dq,
  119. \(dqdata\(dq: {
  120. \(dqversion\(dq: 7,
  121. \(dqfolders\(dq: [{\(dq...\(dq}],
  122. \(dqdevices\(dq: [{\(dq...\(dq}],
  123. \(dqgui\(dq: {\(dq...\(dq},
  124. \(dqldap\(dq: {\(dq...\(dq},
  125. \(dqoptions\(dq: {\(dq...\(dq},
  126. \(dqremoteIgnoredDevices\(dq: [{\(dq...\(dq}],
  127. \(dqdefaults\(dq: {\(dq...\(dq}
  128. }
  129. }
  130. .EE
  131. .UNINDENT
  132. .UNINDENT
  133. .SS DeviceConnected
  134. .sp
  135. Generated each time a connection to a device has been established.
  136. .INDENT 0.0
  137. .INDENT 3.5
  138. .sp
  139. .EX
  140. {
  141. \(dqid\(dq: 2,
  142. \(dqglobalID\(dq: 2,
  143. \(dqtype\(dq: \(dqDeviceConnected\(dq,
  144. \(dqtime\(dq: \(dq2014\-07\-13T21:04:33.687836696+02:00\(dq,
  145. \(dqdata\(dq: {
  146. \(dqaddr\(dq: \(dq172.16.32.25:22000\(dq,
  147. \(dqid\(dq: \(dqNFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG\(dq,
  148. \(dqdeviceName\(dq: \(dqLaptop\(dq,
  149. \(dqclientName\(dq: \(dqsyncthing\(dq,
  150. \(dqclientVersion\(dq: \(dqv0.13.4\(dq,
  151. \(dqtype\(dq: \(dqTCP (Client)\(dq
  152. }
  153. }
  154. .EE
  155. .UNINDENT
  156. .UNINDENT
  157. .SS DeviceDisconnected
  158. .sp
  159. Generated each time a connection to a device has been terminated.
  160. .INDENT 0.0
  161. .INDENT 3.5
  162. .sp
  163. .EX
  164. {
  165. \(dqid\(dq: 48,
  166. \(dqglobalID\(dq: 48,
  167. \(dqtype\(dq: \(dqDeviceDisconnected\(dq,
  168. \(dqtime\(dq: \(dq2014\-07\-13T21:18:52.859929215+02:00\(dq,
  169. \(dqdata\(dq: {
  170. \(dqerror\(dq: \(dqunexpected EOF\(dq,
  171. \(dqid\(dq: \(dqNFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG\(dq
  172. }
  173. }
  174. .EE
  175. .UNINDENT
  176. .UNINDENT
  177. .sp
  178. \fBNOTE:\fP
  179. .INDENT 0.0
  180. .INDENT 3.5
  181. The error key contains the cause for disconnection, which might not
  182. necessarily be an error as such. Specifically, “EOF” and “unexpected
  183. EOF” both signify TCP connection termination, either due to the other
  184. device restarting or going offline or due to a network change.
  185. .UNINDENT
  186. .UNINDENT
  187. .SS DeviceDiscovered
  188. .sp
  189. Emitted when a new device is discovered using local discovery.
  190. .INDENT 0.0
  191. .INDENT 3.5
  192. .sp
  193. .EX
  194. {
  195. \(dqid\(dq: 13,
  196. \(dqglobalID\(dq: 13,
  197. \(dqtype\(dq: \(dqDeviceDiscovered\(dq,
  198. \(dqtime\(dq: \(dq2014\-07\-17T13:28:05.043465207+02:00\(dq,
  199. \(dqdata\(dq: {
  200. \(dqaddrs\(dq: [
  201. \(dq172.16.32.25:22000\(dq
  202. ],
  203. \(dqdevice\(dq: \(dqNFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG\(dq
  204. }
  205. }
  206. .EE
  207. .UNINDENT
  208. .UNINDENT
  209. .SS DevicePaused
  210. .sp
  211. Emitted when a device was paused.
  212. .INDENT 0.0
  213. .INDENT 3.5
  214. .sp
  215. .EX
  216. {
  217. \(dqid\(dq: 13,
  218. \(dqglobalID\(dq: 13,
  219. \(dqtype\(dq: \(dqDevicePaused\(dq,
  220. \(dqtime\(dq: \(dq2014\-07\-17T13:28:05.043465207+02:00\(dq,
  221. \(dqdata\(dq: {
  222. \(dqdevice\(dq: \(dqNFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG\(dq
  223. }
  224. }
  225. .EE
  226. .UNINDENT
  227. .UNINDENT
  228. .SS DeviceRejected (DEPRECATED)
  229. .sp
  230. Deprecated since version v1.13.0: This event is still emitted for compatibility, but deprecated. Use
  231. the replacement \fI\%PendingDevicesChanged\fP event instead.
  232. .sp
  233. Emitted when there is a connection from a device we are not configured
  234. to talk to.
  235. .INDENT 0.0
  236. .INDENT 3.5
  237. .sp
  238. .EX
  239. {
  240. \(dqid\(dq: 24,
  241. \(dqglobalID\(dq: 24,
  242. \(dqtype\(dq: \(dqDeviceRejected\(dq,
  243. \(dqtime\(dq: \(dq2014\-08\-19T10:43:00.562821045+02:00\(dq,
  244. \(dqdata\(dq: {
  245. \(dqaddress\(dq: \(dq127.0.0.1:51807\(dq,
  246. \(dqname\(dq: \(dqMy dusty computer\(dq,
  247. \(dqdevice\(dq: \(dqEJHMPAQ\-OGCVORE\-ISB4IS3\-SYYVJXF\-TKJGLTU\-66DIQPF\-GJ5D2GX\-GQ3OWQK\(dq
  248. }
  249. }
  250. .EE
  251. .UNINDENT
  252. .UNINDENT
  253. .SS DeviceResumed
  254. .sp
  255. Generated each time a device was resumed.
  256. .INDENT 0.0
  257. .INDENT 3.5
  258. .sp
  259. .EX
  260. {
  261. \(dqid\(dq: 2,
  262. \(dqglobalID\(dq: 2,
  263. \(dqtype\(dq: \(dqDeviceResumed\(dq,
  264. \(dqtime\(dq: \(dq2014\-07\-13T21:04:33.687836696+02:00\(dq,
  265. \(dqdata\(dq: {
  266. \(dqdevice\(dq: \(dqNFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG\(dq
  267. }
  268. }
  269. .EE
  270. .UNINDENT
  271. .UNINDENT
  272. .SS DownloadProgress
  273. .sp
  274. Emitted during file downloads for each folder for each file. By default
  275. only a single file in a folder is handled at the same time, but custom
  276. configuration can cause multiple files to be shown.
  277. .INDENT 0.0
  278. .INDENT 3.5
  279. .sp
  280. .EX
  281. {
  282. \(dqid\(dq: 221,
  283. \(dqglobalID\(dq: 221,
  284. \(dqtype\(dq: \(dqDownloadProgress\(dq,
  285. \(dqtime\(dq: \(dq2014\-12\-13T00:26:12.9876937Z\(dq,
  286. \(dqdata\(dq: {
  287. \(dqfolder1\(dq: {
  288. \(dqfile1\(dq: {
  289. \(dqtotal\(dq: 800,
  290. \(dqpulling\(dq: 2,
  291. \(dqcopiedFromOrigin\(dq: 0,
  292. \(dqreused\(dq: 633,
  293. \(dqcopiedFromElsewhere\(dq: 0,
  294. \(dqpulled\(dq: 38,
  295. \(dqbytesTotal\(dq: 104792064,
  296. \(dqbytesDone\(dq: 87883776
  297. },
  298. \(dqdir\e\efile2\(dq: {
  299. \(dqtotal\(dq: 80,
  300. \(dqpulling\(dq: 2,
  301. \(dqcopiedFromOrigin\(dq: 0,
  302. \(dqreused\(dq: 0,
  303. \(dqcopiedFromElsewhere\(dq: 0,
  304. \(dqpulled\(dq: 32,
  305. \(dqbytesTotal\(dq: 10420224,
  306. \(dqbytesDone\(dq: 4128768
  307. }
  308. },
  309. \(dqfolder2\(dq: {
  310. \(dqfile3\(dq: {
  311. \(dqtotal\(dq: 800,
  312. \(dqpulling\(dq: 2,
  313. \(dqcopiedFromOrigin\(dq: 0,
  314. \(dqreused\(dq: 633,
  315. \(dqcopiedFromElsewhere\(dq: 0,
  316. \(dqpulled\(dq: 38,
  317. \(dqbytesTotal\(dq: 104792064,
  318. \(dqbytesDone\(dq: 87883776
  319. },
  320. \(dqdir\e\efile4\(dq: {
  321. \(dqtotal\(dq: 80,
  322. \(dqpulling\(dq: 2,
  323. \(dqcopiedFromOrigin\(dq: 0,
  324. \(dqreused\(dq: 0,
  325. \(dqcopiedFromElsewhere\(dq: 0,
  326. \(dqpulled\(dq: 32,
  327. \(dqbytesTotal\(dq: 10420224,
  328. \(dqbytesDone\(dq: 4128768
  329. }
  330. }
  331. }
  332. }
  333. .EE
  334. .UNINDENT
  335. .UNINDENT
  336. .INDENT 0.0
  337. .IP \(bu 2
  338. \fBtotal\fP \- total number of blocks in the file
  339. .IP \(bu 2
  340. \fBpulling\fP \- number of blocks currently being downloaded
  341. .IP \(bu 2
  342. \fBcopiedFromOrigin\fP \- number of blocks copied from the file we are
  343. about to replace
  344. .IP \(bu 2
  345. \fBreused\fP \- number of blocks reused from a previous temporary file
  346. .IP \(bu 2
  347. \fBcopiedFromElsewhere\fP \- number of blocks copied from other files or
  348. potentially other folders
  349. .IP \(bu 2
  350. \fBpulled\fP \- number of blocks actually downloaded so far
  351. .IP \(bu 2
  352. \fBbytesTotal\fP \- approximate total file size
  353. .IP \(bu 2
  354. \fBbytesDone\fP \- approximate number of bytes already handled (already
  355. reused, copied or pulled)
  356. .UNINDENT
  357. .sp
  358. Where block size is 128KB.
  359. .sp
  360. Files/folders appearing in the event data imply that the download has
  361. been started for that file/folder, where disappearing implies that the
  362. downloads have been finished or failed for that file/folder. There is
  363. always a last event emitted with no data, which implies all downloads
  364. have finished/failed.
  365. .SS Failure
  366. .sp
  367. Generated for specific errors that will also be sent to the usage
  368. reporting server, if enabled in the configuration. These are usually
  369. of special interest to the developers to troubleshoot complex errors.
  370. The \fBdata\fP field contains a textual error message.
  371. .INDENT 0.0
  372. .INDENT 3.5
  373. .sp
  374. .EX
  375. {
  376. \(dqid\(dq: 93,
  377. \(dqglobalID\(dq: 93,
  378. \(dqtype\(dq: \(dqFailure\(dq,
  379. \(dqtime\(dq: \(dq2021\-06\-07T21:22:03.414609034+02:00\(dq,
  380. \(dqdata\(dq: \(dqindex handler got paused while already paused\(dq
  381. }
  382. .EE
  383. .UNINDENT
  384. .UNINDENT
  385. .SS FolderCompletion
  386. .sp
  387. The \fBFolderCompletion\fP event is emitted when the local or remote
  388. contents for a folder changes. It contains the completion percentage for
  389. a given remote device and is emitted once per currently connected remote
  390. device.
  391. .sp
  392. Added in version 1.20.0: Indication whether the remote device has accepted the folder (shares it with
  393. us) as well, and whether it is paused. The \fBremoteState\fP field is
  394. \fBunknown\fP when the remote device is not connected. Otherwise it can be
  395. either \fBpaused\fP, \fBnotSharing\fP, or \fBvalid\fP if the remote is sharing back.
  396. .INDENT 0.0
  397. .INDENT 3.5
  398. .sp
  399. .EX
  400. {
  401. \(dqid\(dq: 84,
  402. \(dqglobalID\(dq: 84,
  403. \(dqtype\(dq: \(dqFolderCompletion\(dq,
  404. \(dqtime\(dq: \(dq2022\-04\-27T14:14:27.043576583+09:00\(dq,
  405. \(dqdata\(dq: {
  406. \(dqcompletion\(dq: 100,
  407. \(dqdevice\(dq: \(dqI6KAH76\-66SLLLB\-5PFXSOA\-UFJCDZC\-YAOMLEK\-CP2GB32\-BV5RQST\-3PSROAU\(dq,
  408. \(dqfolder\(dq: \(dqdefault\(dq,
  409. \(dqglobalBytes\(dq: 17,
  410. \(dqglobalItems\(dq: 4,
  411. \(dqneedBytes\(dq: 0,
  412. \(dqneedDeletes\(dq: 0,
  413. \(dqneedItems\(dq: 0,
  414. \(dqremoteState\(dq: \(dqvalid\(dq,
  415. \(dqsequence\(dq: 12
  416. }
  417. }
  418. .EE
  419. .UNINDENT
  420. .UNINDENT
  421. .SS FolderErrors
  422. .sp
  423. The \fBFolderErrors\fP event is emitted when a folder cannot be successfully
  424. synchronized. The event contains the ID of the affected folder and a list of
  425. errors for files or directories therein. This list of errors is obsolete once
  426. the folder changes state to \fBsyncing\fP \- if errors remain after the next
  427. synchronization attempt, a new \fBFolderErrors\fP event is emitted.
  428. .INDENT 0.0
  429. .INDENT 3.5
  430. .sp
  431. .EX
  432. {
  433. \(dqid\(dq: 132,
  434. \(dqtype\(dq: \(dqFolderErrors\(dq,
  435. \(dqtime\(dq: \(dq2015\-06\-26T13:39:24.697401384+02:00\(dq,
  436. \(dqdata\(dq: {
  437. \(dqerrors\(dq: [
  438. {
  439. \(dqerror\(dq: \(dqopen /Users/jb/src/github.com/syncthing/syncthing/test/s2/h2j/.syncthing.aslkjd.tmp: permission denied\(dq,
  440. \(dqpath\(dq: \(dqh2j/aslkjd\(dq
  441. }
  442. ],
  443. \(dqfolder\(dq: \(dqdefault\(dq
  444. }
  445. }
  446. .EE
  447. .UNINDENT
  448. .UNINDENT
  449. .sp
  450. Added in version 0.11.12.
  451. .sp
  452. \fBSEE ALSO:\fP
  453. .INDENT 0.0
  454. .INDENT 3.5
  455. The \fI\%StateChanged\fP event.
  456. .UNINDENT
  457. .UNINDENT
  458. .SS FolderPaused
  459. .sp
  460. Generated when the configuration changes regarding the “paused” state
  461. of a folder. Sent repeatedly for each changed folder.
  462. .INDENT 0.0
  463. .INDENT 3.5
  464. .sp
  465. .EX
  466. {
  467. \(dqid\(dq: 93,
  468. \(dqglobalID\(dq: 93,
  469. \(dqtype\(dq: \(dqFolderPaused\(dq,
  470. \(dqtime\(dq: \(dq2021\-06\-07T23:45:03.414609034+02:00\(dq,
  471. \(dqdata\(dq: {
  472. \(dqid\(dq: \(dqabcde\-fghij\(dq,
  473. \(dqlabel\(dq: \(dqMy folder\(dq
  474. }
  475. }
  476. .EE
  477. .UNINDENT
  478. .UNINDENT
  479. .SS FolderRejected (DEPRECATED)
  480. .sp
  481. Deprecated since version v1.13.0: This event is still emitted for compatibility, but deprecated. Use
  482. the replacement \fI\%PendingFoldersChanged\fP event instead.
  483. .sp
  484. Emitted when a device sends index information for a folder we do not
  485. have, or have but do not share with the device in question.
  486. .INDENT 0.0
  487. .INDENT 3.5
  488. .sp
  489. .EX
  490. {
  491. \(dqid\(dq: 27,
  492. \(dqglobalID\(dq: 27,
  493. \(dqtype\(dq: \(dqFolderRejected\(dq,
  494. \(dqtime\(dq: \(dq2014\-08\-19T10:41:06.761751399+02:00\(dq,
  495. \(dqdata\(dq: {
  496. \(dqdevice\(dq: \(dqEJHMPAQ\-OGCVORE\-ISB4IS3\-SYYVJXF\-TKJGLTU\-66DIQPF\-GJ5D2GX\-GQ3OWQK\(dq,
  497. \(dqfolder\(dq: \(dqGXWxf\-3zgnU\(dq,
  498. \(dqfolderLabel\(dq: \(dqMy Pictures\(dq
  499. }
  500. }
  501. .EE
  502. .UNINDENT
  503. .UNINDENT
  504. .SS FolderResumed
  505. .sp
  506. Generated when the configuration changes regarding the “paused” state
  507. of a folder. Sent repeatedly for each changed folder.
  508. .INDENT 0.0
  509. .INDENT 3.5
  510. .sp
  511. .EX
  512. {
  513. \(dqid\(dq: 93,
  514. \(dqglobalID\(dq: 93,
  515. \(dqtype\(dq: \(dqFolderResumed\(dq,
  516. \(dqtime\(dq: \(dq2021\-06\-07T23:45:03.414609034+02:00\(dq,
  517. \(dqdata\(dq: {
  518. \(dqid\(dq: \(dqabcde\-fghij\(dq,
  519. \(dqlabel\(dq: \(dqMy folder\(dq
  520. }
  521. }
  522. .EE
  523. .UNINDENT
  524. .UNINDENT
  525. .SS FolderScanProgress
  526. .sp
  527. Emitted in regular intervals (folder setting ProgressIntervalS, 2s by default)
  528. during scans giving the amount of bytes already scanned and to be scanned in
  529. total , as well as the current scanning rates in bytes per second.
  530. .INDENT 0.0
  531. .INDENT 3.5
  532. .sp
  533. .EX
  534. {
  535. \(dqdata\(dq : {
  536. \(dqtotal\(dq : 1,
  537. \(dqrate\(dq : 0,
  538. \(dqcurrent\(dq : 0,
  539. \(dqfolder\(dq : \(dqbd7q3\-zskm5\(dq
  540. },
  541. \(dqglobalID\(dq : 29,
  542. \(dqtype\(dq : \(dqFolderScanProgress\(dq,
  543. \(dqtime\(dq : \(dq2017\-03\-06T15:00:58.072004209+01:00\(dq,
  544. \(dqid\(dq : 29
  545. }
  546. .EE
  547. .UNINDENT
  548. .UNINDENT
  549. .SS FolderSummary
  550. .sp
  551. The FolderSummary event is emitted when folder contents have changed
  552. locally. This can be used to calculate the current local completion
  553. state.
  554. .INDENT 0.0
  555. .INDENT 3.5
  556. .sp
  557. .EX
  558. {
  559. \(dqid\(dq: 16,
  560. \(dqtype\(dq: \(dqFolderSummary\(dq,
  561. \(dqtime\(dq: \(dq2024\-01\-31T08:27:30.777875+01:00\(dq,
  562. \(dqdata\(dq: {
  563. \(dqfolder\(dq: \(dqdefault\(dq,
  564. \(dqsummary\(dq: {
  565. \(dqerror\(dq: \(dq\(dq,
  566. \(dqerrors\(dq: 0,
  567. \(dqglobalBytes\(dq: 4,
  568. \(dqglobalDeleted\(dq: 18664,
  569. \(dqglobalDirectories\(dq: 0,
  570. \(dqglobalFiles\(dq: 1,
  571. \(dqglobalSymlinks\(dq: 0,
  572. \(dqglobalTotalItems\(dq: 18665,
  573. \(dqignorePatterns\(dq: false,
  574. \(dqinSyncBytes\(dq: 4,
  575. \(dqinSyncFiles\(dq: 1,
  576. \(dqinvalid\(dq: \(dq\(dq,
  577. \(dqlocalBytes\(dq: 4,
  578. \(dqlocalDeleted\(dq: 18664,
  579. \(dqlocalDirectories\(dq: 0,
  580. \(dqlocalFiles\(dq: 1,
  581. \(dqlocalSymlinks\(dq: 0,
  582. \(dqlocalTotalItems\(dq: 18665,
  583. \(dqneedBytes\(dq: 0,
  584. \(dqneedDeletes\(dq: 0,
  585. \(dqneedDirectories\(dq: 0,
  586. \(dqneedFiles\(dq: 0,
  587. \(dqneedSymlinks\(dq: 0,
  588. \(dqneedTotalItems\(dq: 0,
  589. \(dqpullErrors\(dq: 0,
  590. \(dqreceiveOnlyChangedBytes\(dq: 0,
  591. \(dqreceiveOnlyChangedDeletes\(dq: 0,
  592. \(dqreceiveOnlyChangedDirectories\(dq: 0,
  593. \(dqreceiveOnlyChangedFiles\(dq: 0,
  594. \(dqreceiveOnlyChangedSymlinks\(dq: 0,
  595. \(dqreceiveOnlyTotalItems\(dq: 0,
  596. \(dqremoteSequence\(dq: {
  597. \(dqMRIW7OK\-NETT3M4\-N6SBWME\-N25O76W\-YJKVXPH\-FUMQJ3S\-P57B74J\-GBITBAC\(dq: 37329
  598. },
  599. \(dqsequence\(dq: 37329,
  600. \(dqstate\(dq: \(dqidle\(dq,
  601. \(dqstateChanged\(dq: \(dq2024\-01\-31T08:27:24+01:00\(dq,
  602. \(dqversion\(dq: 37329,
  603. \(dqwatchError\(dq: \(dq\(dq
  604. }
  605. }
  606. }
  607. .EE
  608. .UNINDENT
  609. .UNINDENT
  610. .SS FolderWatchStateChanged
  611. .sp
  612. The \fBFolderWatchStateChanged\fP event is emitted when a folder’s watcher routine
  613. encounters a new error, or when a previous error disappeared after retrying.
  614. The event contains the ID of the affected folder and textual error messages
  615. describing the previous (\fBfrom\fP) and the updated (\fBto\fP) error conditions.
  616. If there was no error in either of these, the respective field is omitted.
  617. .INDENT 0.0
  618. .INDENT 3.5
  619. .sp
  620. .EX
  621. {
  622. \(dqid\(dq: 123,
  623. \(dqtype\(dq: \(dqFolderWatchStateChanged\(dq,
  624. \(dqtime\(dq: \(dq2022\-03\-14T12:34:56.890000000+01:00\(dq,
  625. \(dqdata\(dq: {
  626. \(dqfolder\(dq: \(dqdefault\(dq,
  627. \(dqfrom\(dq: \(dqSomething bad happened.\(dq,
  628. \(dqto\(dq: \(dqSomething worse happened.\(dq
  629. }
  630. }
  631. .EE
  632. .UNINDENT
  633. .UNINDENT
  634. .SS ItemFinished
  635. .sp
  636. Generated when Syncthing ends synchronizing a file to a newer version. A
  637. successful operation:
  638. .INDENT 0.0
  639. .INDENT 3.5
  640. .sp
  641. .EX
  642. {
  643. \(dqid\(dq: 93,
  644. \(dqglobalID\(dq: 93,
  645. \(dqtype\(dq: \(dqItemFinished\(dq,
  646. \(dqtime\(dq: \(dq2014\-07\-13T21:22:03.414609034+02:00\(dq,
  647. \(dqdata\(dq: {
  648. \(dqitem\(dq: \(dqtest.txt\(dq,
  649. \(dqfolder\(dq: \(dqdefault\(dq,
  650. \(dqerror\(dq: null,
  651. \(dqtype\(dq: \(dqfile\(dq,
  652. \(dqaction\(dq: \(dqupdate\(dq
  653. }
  654. }
  655. .EE
  656. .UNINDENT
  657. .UNINDENT
  658. .sp
  659. An unsuccessful operation:
  660. .INDENT 0.0
  661. .INDENT 3.5
  662. .sp
  663. .EX
  664. {
  665. \(dqid\(dq: 44,
  666. \(dqglobalID\(dq: 44,
  667. \(dqtype\(dq: \(dqItemFinished\(dq,
  668. \(dqtime\(dq: \(dq2015\-05\-27T11:21:05.711133004+02:00\(dq,
  669. \(dqdata\(dq: {
  670. \(dqaction\(dq: \(dqupdate\(dq,
  671. \(dqerror\(dq: \(dqopen /Users/jb/src/github.com/syncthing/syncthing/test/s2/foo/.syncthing.hej.tmp: permission denied\(dq,
  672. \(dqfolder\(dq: \(dqdefault\(dq,
  673. \(dqitem\(dq: \(dqfoo/hej\(dq,
  674. \(dqtype\(dq: \(dqfile\(dq
  675. }
  676. }
  677. .EE
  678. .UNINDENT
  679. .UNINDENT
  680. .sp
  681. The \fBaction\fP field is either \fBupdate\fP (contents changed), \fBmetadata\fP (file metadata changed but not contents), or \fBdelete\fP\&.
  682. .sp
  683. Added in version 0.11.10: The \fBmetadata\fP action.
  684. .SS ItemStarted
  685. .sp
  686. Generated when Syncthing begins synchronizing a file to a newer version.
  687. .INDENT 0.0
  688. .INDENT 3.5
  689. .sp
  690. .EX
  691. {
  692. \(dqid\(dq: 93,
  693. \(dqglobalID\(dq: 93,
  694. \(dqtype\(dq: \(dqItemStarted\(dq,
  695. \(dqtime\(dq: \(dq2014\-07\-13T21:22:03.414609034+02:00\(dq,
  696. \(dqdata\(dq: {
  697. \(dqitem\(dq: \(dqtest.txt\(dq,
  698. \(dqfolder\(dq: \(dqdefault\(dq,
  699. \(dqtype\(dq: \(dqfile\(dq,
  700. \(dqaction\(dq: \(dqupdate\(dq
  701. }
  702. }
  703. .EE
  704. .UNINDENT
  705. .UNINDENT
  706. .sp
  707. The \fBaction\fP field is either \fBupdate\fP (contents changed), \fBmetadata\fP (file metadata changed but not contents), or \fBdelete\fP\&.
  708. .sp
  709. Added in version 0.11.10: The \fBmetadata\fP action.
  710. .SS ListenAddressesChanged
  711. .sp
  712. This event is emitted when a \fI\%listen address\fP changes.
  713. .INDENT 0.0
  714. .INDENT 3.5
  715. .sp
  716. .EX
  717. {
  718. \(dqtype\(dq : \(dqListenAddressesChanged\(dq,
  719. \(dqid\(dq : 70,
  720. \(dqtime\(dq : \(dq2017\-03\-06T15:01:24.88340663+01:00\(dq,
  721. \(dqglobalID\(dq : 70,
  722. \(dqdata\(dq : {
  723. \(dqaddress\(dq : {
  724. \(dqFragment\(dq : \(dq\(dq,
  725. \(dqRawQuery\(dq : \(dq\(dq,
  726. \(dqScheme\(dq : \(dqdynamic+https\(dq,
  727. \(dqPath\(dq : \(dq/endpoint\(dq,
  728. \(dqRawPath\(dq : \(dq\(dq,
  729. \(dqUser\(dq : null,
  730. \(dqForceQuery\(dq : false,
  731. \(dqHost\(dq : \(dqrelays.syncthing.net\(dq,
  732. \(dqOpaque\(dq : \(dq\(dq
  733. },
  734. \(dqwan\(dq : [
  735. {
  736. \(dqForceQuery\(dq : false,
  737. \(dqUser\(dq : null,
  738. \(dqHost\(dq : \(dq31.15.66.212:443\(dq,
  739. \(dqOpaque\(dq : \(dq\(dq,
  740. \(dqPath\(dq : \(dq/\(dq,
  741. \(dqRawPath\(dq : \(dq\(dq,
  742. \(dqRawQuery\(dq : \(dqid=F4HSJVO\-CP2C3IL\-YLQYLSU\-XTYODAG\-PPU4LGV\-PH3MU4N\-G6K56DV\-IPN47A&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=\(dq,
  743. \(dqScheme\(dq : \(dqrelay\(dq,
  744. \(dqFragment\(dq : \(dq\(dq
  745. }
  746. ],
  747. \(dqlan\(dq : [
  748. {
  749. \(dqRawQuery\(dq : \(dqid=F4HSJVO\-CP2C3IL\-YLQYLSU\-XTYODAG\-PPU4LGV\-PH3MU4N\-G6K56DV\-IPN47A&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=\(dq,
  750. \(dqScheme\(dq : \(dqrelay\(dq,
  751. \(dqFragment\(dq : \(dq\(dq,
  752. \(dqRawPath\(dq : \(dq\(dq,
  753. \(dqPath\(dq : \(dq/\(dq,
  754. \(dqHost\(dq : \(dq31.15.66.212:443\(dq,
  755. \(dqOpaque\(dq : \(dq\(dq,
  756. \(dqForceQuery\(dq : false,
  757. \(dqUser\(dq : null
  758. }
  759. ]
  760. }
  761. }
  762. .EE
  763. .UNINDENT
  764. .UNINDENT
  765. .SS LocalChangeDetected
  766. .sp
  767. Generated upon scan whenever the local disk has discovered an updated file from the
  768. previous scan. This does \fInot\fP include events that are discovered and copied from
  769. other devices (\fI\%RemoteChangeDetected\fP), only files that were changed on the
  770. local filesystem.
  771. .sp
  772. \fBNOTE:\fP
  773. .INDENT 0.0
  774. .INDENT 3.5
  775. This event is not included in \fI\%GET /rest/events\fP endpoint without
  776. a mask specified, but needs to be selected explicitly.
  777. .UNINDENT
  778. .UNINDENT
  779. .INDENT 0.0
  780. .INDENT 3.5
  781. .sp
  782. .EX
  783. {
  784. \(dqid\(dq: 7,
  785. \(dqglobalID\(dq: 59,
  786. \(dqtime\(dq: \(dq2016\-09\-26T22:07:10.7189141\-04:00\(dq,
  787. \(dqtype\(dq: \(dqLocalChangeDetected\(dq,
  788. \(dqdata\(dq: {
  789. \(dqaction\(dq: \(dqdeleted\(dq,
  790. \(dqfolder\(dq: \(dqvitwy\-zjxqt\(dq,
  791. \(dqfolderID\(dq: \(dqvitwy\-zjxqt\(dq,
  792. \(dqlabel\(dq: \(dqTestSync\(dq,
  793. \(dqpath\(dq: \(dqtest file.rtf\(dq,
  794. \(dqtype\(dq: \(dqfile\(dq
  795. }
  796. }
  797. .EE
  798. .UNINDENT
  799. .UNINDENT
  800. .sp
  801. Deprecated since version v1.1.2: The \fBfolderID\fP field is a legacy name kept only for compatibility. Use the
  802. \fBfolder\fP field with identical content instead.
  803. .SS LocalIndexUpdated
  804. .sp
  805. Generated when the local index information has changed, due to
  806. synchronizing one or more items from the cluster or discovering local
  807. changes during a scan.
  808. .INDENT 0.0
  809. .INDENT 3.5
  810. .sp
  811. .EX
  812. {
  813. \(dqid\(dq: 59,
  814. \(dqglobalID\(dq: 59,
  815. \(dqtype\(dq: \(dqLocalIndexUpdated\(dq,
  816. \(dqtime\(dq: \(dq2014\-07\-17T13:27:28.051369434+02:00\(dq,
  817. \(dqdata\(dq: {
  818. \(dqfolder\(dq: \(dqdefault\(dq,
  819. \(dqitems\(dq: 1000,
  820. \(dqfilenames\(dq: [
  821. \(dqfoo\(dq,
  822. \(dqbar\(dq,
  823. \(dqbaz\(dq
  824. ],
  825. \(dqsequence\(dq: 12345,
  826. \(dqversion\(dq: 12345
  827. }
  828. }
  829. .EE
  830. .UNINDENT
  831. .UNINDENT
  832. .sp
  833. Deprecated since version v1.10.0: The \fBversion\fP field is a legacy name kept only for compatibility. Use the
  834. \fBsequence\fP field with identical content instead.
  835. .SS LoginAttempt
  836. .sp
  837. When authentication is enabled for the GUI, this event is emitted on every
  838. login attempt. If either the username or password are incorrect, \fBsuccess\fP
  839. is false and in any case the given username is returned.
  840. .INDENT 0.0
  841. .INDENT 3.5
  842. .sp
  843. .EX
  844. {
  845. \(dqid\(dq : 187,
  846. \(dqtime\(dq : \(dq2017\-03\-07T00:19:24.420386143+01:00\(dq,
  847. \(dqdata\(dq : {
  848. \(dqremoteAddress\(dq : \(dq127.0.0.1\(dq,
  849. \(dqusername\(dq : \(dqsomename\(dq,
  850. \(dqsuccess\(dq : false
  851. },
  852. \(dqtype\(dq : \(dqLoginAttempt\(dq,
  853. \(dqglobalID\(dq : 195
  854. }
  855. .EE
  856. .UNINDENT
  857. .UNINDENT
  858. .sp
  859. If the \fBX\-Forwared\-For\fP header is present and the connecting host is
  860. either on \fBlocalhost\fP or on the same LAN, it will be treated as a reverse
  861. proxy. In this case, the \fBremoteAddress\fP field is filled with the leftmost
  862. IP address from the header, and the additional \fBproxy\fP field retains the
  863. original IP of the connecting host.
  864. .INDENT 0.0
  865. .INDENT 3.5
  866. .sp
  867. .EX
  868. {
  869. \(dqid\(dq : 187,
  870. \(dqtime\(dq : \(dq2017\-03\-07T00:19:24.420386143+01:00\(dq,
  871. \(dqdata\(dq : {
  872. \(dqproxy\(dq : \(dq127.0.0.1\(dq,
  873. \(dqremoteAddress\(dq : \(dq192.168.178.10\(dq,
  874. \(dqusername\(dq : \(dqsomename\(dq,
  875. \(dqsuccess\(dq : false
  876. },
  877. \(dqtype\(dq : \(dqLoginAttempt\(dq,
  878. \(dqglobalID\(dq : 195
  879. }
  880. .EE
  881. .UNINDENT
  882. .UNINDENT
  883. .SS PendingDevicesChanged
  884. .sp
  885. Added in version 1.14.0.
  886. .sp
  887. Emitted when pending devices were added / updated (connection from
  888. unknown ID) or removed (device is ignored, dismissed or added).
  889. .INDENT 0.0
  890. .INDENT 3.5
  891. .sp
  892. .EX
  893. {
  894. \(dqid\(dq: 87,
  895. \(dqtype\(dq: \(dqPendingDevicesChanged\(dq,
  896. \(dqtime\(dq: \(dq2020\-12\-22T22:24:37.578586718+01:00\(dq,
  897. \(dqdata\(dq: {
  898. \(dqadded\(dq: [
  899. {
  900. \(dqaddress\(dq: \(dq127.0.0.1:51807\(dq,
  901. \(dqdeviceID\(dq: \(dqEJHMPAQ\-OGCVORE\-ISB4IS3\-SYYVJXF\-TKJGLTU\-66DIQPF\-GJ5D2GX\-GQ3OWQK\(dq,
  902. \(dqname\(dq: \(dqMy dusty computer\(dq
  903. }
  904. ],
  905. \(dqremoved\(dq: [
  906. {
  907. \(dqdeviceID\(dq: \(dqP56IOI7\-MZJNU2Y\-IQGDREY\-DM2MGTI\-MGL3BXN\-PQ6W5BM\-TBBZ4TJ\-XZWICQ2\(dq
  908. }
  909. ]
  910. }
  911. }
  912. .EE
  913. .UNINDENT
  914. .UNINDENT
  915. .SS PendingFoldersChanged
  916. .sp
  917. Added in version 1.14.0.
  918. .sp
  919. Emitted when pending folders were added / updated (offered by some
  920. device, but not shared to them) or removed (folder ignored, dismissed
  921. or added or no longer offered from the remote device). A removed
  922. entry without a \fBdeviceID\fP attribute means that the folder is no
  923. longer pending for any device.
  924. .INDENT 0.0
  925. .INDENT 3.5
  926. .sp
  927. .EX
  928. {
  929. \(dqid\(dq: 101,
  930. \(dqtype\(dq: \(dqPendingFoldersChanged\(dq,
  931. \(dqtime\(dq: \(dq2020\-12\-22T22:36:55.66744317+01:00\(dq,
  932. \(dqdata\(dq: {
  933. \(dqadded\(dq: [
  934. {
  935. \(dqdeviceID\(dq: \(dqEJHMPAQ\-OGCVORE\-ISB4IS3\-SYYVJXF\-TKJGLTU\-66DIQPF\-GJ5D2GX\-GQ3OWQK\(dq,
  936. \(dqfolderID\(dq: \(dqGXWxf\-3zgnU\(dq,
  937. \(dqfolderLabel\(dq: \(dqMy Pictures\(dq
  938. \(dqreceiveEncrypted\(dq: \(dqfalse\(dq
  939. \(dqremoteEncrypted\(dq: \(dqfalse\(dq
  940. }
  941. ],
  942. \(dqremoved\(dq: [
  943. {
  944. \(dqdeviceID\(dq: \(dqP56IOI7\-MZJNU2Y\-IQGDREY\-DM2MGTI\-MGL3BXN\-PQ6W5BM\-TBBZ4TJ\-XZWICQ2\(dq,
  945. \(dqfolderID\(dq: \(dqneyfh\-sa2nu\(dq
  946. },
  947. {
  948. \(dqfolderID\(dq: \(dqabcde\-fghij\(dq
  949. }
  950. ]
  951. }
  952. }
  953. .EE
  954. .UNINDENT
  955. .UNINDENT
  956. .SS RemoteChangeDetected
  957. .sp
  958. Generated upon scan whenever a file is locally updated due to a remote change.
  959. Files that are updated locally produce a \fI\%LocalChangeDetected\fP event.
  960. .sp
  961. \fBNOTE:\fP
  962. .INDENT 0.0
  963. .INDENT 3.5
  964. This event is not included in \fI\%GET /rest/events\fP endpoint without
  965. a mask specified, but needs to be selected explicitly.
  966. .UNINDENT
  967. .UNINDENT
  968. .INDENT 0.0
  969. .INDENT 3.5
  970. .sp
  971. .EX
  972. {
  973. \(dqtime\(dq : \(dq2017\-03\-06T23:58:21.844739891+01:00\(dq,
  974. \(dqglobalID\(dq : 123,
  975. \(dqdata\(dq : {
  976. \(dqtype\(dq : \(dqfile\(dq,
  977. \(dqaction\(dq : \(dqdeleted\(dq,
  978. \(dqfolder\(dq: \(dqDokumente\(dq,
  979. \(dqfolderID\(dq : \(dqDokumente\(dq,
  980. \(dqpath\(dq : \(dqtestfile\(dq,
  981. \(dqlabel\(dq : \(dqDokumente\(dq,
  982. \(dqmodifiedBy\(dq : \(dqBPDFDTU\(dq
  983. },
  984. \(dqtype\(dq : \(dqRemoteChangeDetected\(dq,
  985. \(dqid\(dq : 2
  986. }
  987. .EE
  988. .UNINDENT
  989. .UNINDENT
  990. .sp
  991. Deprecated since version v1.1.2: The \fBfolderID\fP field is a legacy name kept only for compatibility. Use the
  992. \fBfolder\fP field with identical content instead.
  993. .SS RemoteDownloadProgress
  994. .sp
  995. This event is emitted when a \fI\%DownloadProgress\fP message is
  996. received. It returns a map \fBdata\fP of filenames with a count of
  997. downloaded blocks. The files in questions are currently being
  998. downloaded on the remote \fBdevice\fP and belong to \fBfolder\fP\&.
  999. .INDENT 0.0
  1000. .INDENT 3.5
  1001. .sp
  1002. .EX
  1003. {
  1004. \(dqtime\(dq : \(dq2017\-03\-07T00:11:37.65838955+01:00\(dq,
  1005. \(dqglobalID\(dq : 170,
  1006. \(dqdata\(dq : {
  1007. \(dqstate\(dq : {
  1008. \(dqtahr64\-6.0.5.iso\(dq : 1784
  1009. },
  1010. \(dqdevice\(dq : \(dqF4HSJVO\-CP2C3IL\-YLQYLSU\-XTYODAG\-PPU4LGV\-PH3MU4N\-G6K56DV\-IPN47A\(dq,
  1011. \(dqfolder\(dq : \(dqDokumente\(dq
  1012. },
  1013. \(dqtype\(dq : \(dqRemoteDownloadProgress\(dq,
  1014. \(dqid\(dq : 163
  1015. }
  1016. .EE
  1017. .UNINDENT
  1018. .UNINDENT
  1019. .SS RemoteIndexUpdated
  1020. .sp
  1021. Generated each time new index information is received from a device.
  1022. .INDENT 0.0
  1023. .INDENT 3.5
  1024. .sp
  1025. .EX
  1026. {
  1027. \(dqid\(dq: 44,
  1028. \(dqglobalID\(dq: 44,
  1029. \(dqtype\(dq: \(dqRemoteIndexUpdated\(dq,
  1030. \(dqtime\(dq: \(dq2014\-07\-13T21:04:35.394184435+02:00\(dq,
  1031. \(dqdata\(dq: {
  1032. \(dqdevice\(dq: \(dqNFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG\(dq,
  1033. \(dqfolder\(dq: \(dqlightroom\(dq,
  1034. \(dqitems\(dq: 1000
  1035. }
  1036. }
  1037. .EE
  1038. .UNINDENT
  1039. .UNINDENT
  1040. .SS Starting
  1041. .sp
  1042. Emitted exactly once, when Syncthing starts, before parsing
  1043. configuration etc.
  1044. .INDENT 0.0
  1045. .INDENT 3.5
  1046. .sp
  1047. .EX
  1048. {
  1049. \(dqid\(dq: 1,
  1050. \(dqglobalID\(dq: 1,
  1051. \(dqtype\(dq: \(dqStarting\(dq,
  1052. \(dqtime\(dq: \(dq2014\-07\-17T13:13:32.044470055+02:00\(dq,
  1053. \(dqdata\(dq: {
  1054. \(dqhome\(dq: \(dq/home/jb/.config/syncthing\(dq
  1055. }
  1056. }
  1057. .EE
  1058. .UNINDENT
  1059. .UNINDENT
  1060. .SS StartupComplete
  1061. .sp
  1062. Emitted exactly once, when initialization is complete and Syncthing is
  1063. ready to start exchanging data with other devices.
  1064. .INDENT 0.0
  1065. .INDENT 3.5
  1066. .sp
  1067. .EX
  1068. {
  1069. \(dqid\(dq: 1,
  1070. \(dqglobalID\(dq: 1,
  1071. \(dqtype\(dq: \(dqStartupComplete\(dq,
  1072. \(dqtime\(dq: \(dq2014\-07\-13T21:03:18.383239179+02:00\(dq,
  1073. \(dqdata\(dq: null
  1074. }
  1075. .EE
  1076. .UNINDENT
  1077. .UNINDENT
  1078. .SS StateChanged
  1079. .sp
  1080. Emitted when a folder changes state. Possible states are \fBidle\fP,
  1081. \fBscanning\fP, \fBsyncing\fP and \fBerror\fP\&. The field \fBduration\fP is
  1082. the number of seconds the folder spent in state \fBfrom\fP\&. In the example
  1083. below, the folder \fBdefault\fP was in state \fBscanning\fP for 0.198
  1084. seconds and is now in state \fBidle\fP\&.
  1085. .INDENT 0.0
  1086. .INDENT 3.5
  1087. .sp
  1088. .EX
  1089. {
  1090. \(dqid\(dq: 8,
  1091. \(dqglobalID\(dq: 8,
  1092. \(dqtype\(dq: \(dqStateChanged\(dq,
  1093. \(dqtime\(dq: \(dq2014\-07\-17T13:14:28.697493016+02:00\(dq,
  1094. \(dqdata\(dq: {
  1095. \(dqfolder\(dq: \(dqdefault\(dq,
  1096. \(dqfrom\(dq: \(dqscanning\(dq,
  1097. \(dqduration\(dq: 0.19782869900000002,
  1098. \(dqto\(dq: \(dqidle\(dq
  1099. }
  1100. }
  1101. .EE
  1102. .UNINDENT
  1103. .UNINDENT
  1104. .SH AUTHOR
  1105. The Syncthing Authors
  1106. .SH COPYRIGHT
  1107. 2014-2025, The Syncthing Authors
  1108. .\" Generated by docutils manpage writer.
  1109. .