syncthing-event-api.7 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH "SYNCTHING-EVENT-API" "7" "July 27, 2016" "v0.14" "Syncthing"
  4. .SH NAME
  5. syncthing-event-api \- Event API
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .SH DESCRIPTION
  34. .sp
  35. Syncthing provides a simple long polling interface for exposing events from the
  36. core utility towards a GUI.
  37. .sp
  38. To receive events, perform a HTTP GET of \fB/rest/events?since=<lastSeenID>\fP,
  39. where \fB<lastSeenID>\fP is the ID of the last event you\(aqve already seen or zero.
  40. Syncthing returns a JSON encoded array of event objects, starting at the event
  41. just after the one with the last seen ID. There is a limit to the number of
  42. events buffered, so if the rate of events is high or the time between polling
  43. calls is long some events might be missed. This can be detected by noting a
  44. discontinuity in the event IDs.
  45. .sp
  46. If no new events are produced since \fB<lastSeenID>\fP, the HTTP call blocks and
  47. waits for new events to happen before returning, or if no new events are
  48. produced within 60 seconds, times out.
  49. .sp
  50. To receive only a limited number of events, add the \fBlimit=n\fP parameter with a
  51. suitable value for \fBn\fP and only the \fIlast\fP \fBn\fP events will be returned. This
  52. can be used to catch up with the latest event ID after a disconnection for
  53. example: \fB/rest/events?since=0&limit=1\fP\&.
  54. .SH EVENT STRUCTURE
  55. .sp
  56. Each event is represented by an object similar to the following:
  57. .INDENT 0.0
  58. .INDENT 3.5
  59. .sp
  60. .nf
  61. .ft C
  62. {
  63. "id": 2,
  64. "type": "DeviceConnected",
  65. "time": "2014\-07\-13T21:04:33.687836696+02:00",
  66. "data": {
  67. "addr": "172.16.32.25:22000",
  68. "id": "NFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG"
  69. }
  70. }
  71. .ft P
  72. .fi
  73. .UNINDENT
  74. .UNINDENT
  75. .sp
  76. The top level keys \fBid\fP, \fBtime\fP, \fBtype\fP and \fBdata\fP are always present,
  77. though \fBdata\fP may be \fBnull\fP\&.
  78. .INDENT 0.0
  79. .TP
  80. .B id
  81. A monotonically increasing integer. The first event generated has id \fB1\fP,
  82. the next has id \fB2\fP etc.
  83. .TP
  84. .B time
  85. The time the event was generated.
  86. .TP
  87. .B type
  88. Indicates the type of (i.e. reason for) the event and is one of the event
  89. types below.
  90. .TP
  91. .B data
  92. An object containing optional extra information; the exact structure is
  93. determined by the event type.
  94. .UNINDENT
  95. .SH EVENTS
  96. .SS ConfigSaved
  97. .sp
  98. Emitted after the config has been saved by the user or by Syncthing
  99. itself.
  100. .INDENT 0.0
  101. .INDENT 3.5
  102. .sp
  103. .nf
  104. .ft C
  105. {
  106. "id": 50,
  107. "type": "ConfigSaved",
  108. "time": "2014\-12\-13T00:09:13.5166486Z",
  109. "data":{
  110. "Version": 7,
  111. "Options": { ... },
  112. "GUI": { ... },
  113. "Devices": [ ... ],
  114. "Folders": [ ... ]
  115. }
  116. }
  117. .ft P
  118. .fi
  119. .UNINDENT
  120. .UNINDENT
  121. .SS DeviceConnected
  122. .sp
  123. Generated each time a connection to a device has been established.
  124. .INDENT 0.0
  125. .INDENT 3.5
  126. .sp
  127. .nf
  128. .ft C
  129. {
  130. "id": 2,
  131. "type": "DeviceConnected",
  132. "time": "2014\-07\-13T21:04:33.687836696+02:00",
  133. "data": {
  134. "addr": "172.16.32.25:22000",
  135. "id": "NFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG",
  136. "deviceName": "Laptop",
  137. "clientName": "syncthing",
  138. "clientVersion": "v0.13.4",
  139. "type": "TCP (Client)"
  140. }
  141. }
  142. .ft P
  143. .fi
  144. .UNINDENT
  145. .UNINDENT
  146. .SS DeviceDisconnected
  147. .sp
  148. Generated each time a connection to a device has been terminated.
  149. .INDENT 0.0
  150. .INDENT 3.5
  151. .sp
  152. .nf
  153. .ft C
  154. {
  155. "id": 48,
  156. "type": "DeviceDisconnected",
  157. "time": "2014\-07\-13T21:18:52.859929215+02:00",
  158. "data": {
  159. "error": "unexpected EOF",
  160. "id": "NFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG"
  161. }
  162. }
  163. .ft P
  164. .fi
  165. .UNINDENT
  166. .UNINDENT
  167. .sp
  168. \fBNOTE:\fP
  169. .INDENT 0.0
  170. .INDENT 3.5
  171. The error key contains the cause for disconnection, which might not
  172. necessarily be an error as such. Specifically, "EOF" and "unexpected
  173. EOF" both signify TCP connection termination, either due to the other
  174. device restarting or going offline or due to a network change.
  175. .UNINDENT
  176. .UNINDENT
  177. .SS DeviceDiscovered
  178. .sp
  179. Emitted when a new device is discovered using local discovery.
  180. .INDENT 0.0
  181. .INDENT 3.5
  182. .sp
  183. .nf
  184. .ft C
  185. {
  186. "id": 13,
  187. "type": "DeviceDiscovered",
  188. "time": "2014\-07\-17T13:28:05.043465207+02:00",
  189. "data": {
  190. "addrs": [
  191. "172.16.32.25:22000"
  192. ],
  193. "device": "NFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG"
  194. }
  195. }
  196. .ft P
  197. .fi
  198. .UNINDENT
  199. .UNINDENT
  200. .SS DevicePaused
  201. .sp
  202. Emitted when a device was paused.
  203. .INDENT 0.0
  204. .INDENT 3.5
  205. .sp
  206. .nf
  207. .ft C
  208. {
  209. "id": 13,
  210. "type": "DevicePaused",
  211. "time": "2014\-07\-17T13:28:05.043465207+02:00",
  212. "data": {
  213. "device": "NFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG"
  214. }
  215. }
  216. .ft P
  217. .fi
  218. .UNINDENT
  219. .UNINDENT
  220. .SS DeviceRejected
  221. .sp
  222. Emitted when there is a connection from a device we are not configured
  223. to talk to.
  224. .INDENT 0.0
  225. .INDENT 3.5
  226. .sp
  227. .nf
  228. .ft C
  229. {
  230. "id": 24,
  231. "type": "DeviceRejected",
  232. "time": "2014\-08\-19T10:43:00.562821045+02:00",
  233. "data": {
  234. "address": "127.0.0.1:51807",
  235. "device": "EJHMPAQ\-OGCVORE\-ISB4IS3\-SYYVJXF\-TKJGLTU\-66DIQPF\-GJ5D2GX\-GQ3OWQK"
  236. }
  237. }
  238. .ft P
  239. .fi
  240. .UNINDENT
  241. .UNINDENT
  242. .SS DeviceResumed
  243. .sp
  244. Generated each time a device was resumed.
  245. .INDENT 0.0
  246. .INDENT 3.5
  247. .sp
  248. .nf
  249. .ft C
  250. {
  251. "id": 2,
  252. "type": "DeviceResumed",
  253. "time": "2014\-07\-13T21:04:33.687836696+02:00",
  254. "data": {
  255. "device": "NFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG"
  256. }
  257. }
  258. .ft P
  259. .fi
  260. .UNINDENT
  261. .UNINDENT
  262. .SS DownloadProgress
  263. .sp
  264. Emitted during file downloads for each folder for each file. By default
  265. only a single file in a folder is handled at the same time, but custom
  266. configuration can cause multiple files to be shown.
  267. .INDENT 0.0
  268. .INDENT 3.5
  269. .sp
  270. .nf
  271. .ft C
  272. {
  273. "id": 221,
  274. "type": "DownloadProgress",
  275. "time": "2014\-12\-13T00:26:12.9876937Z",
  276. "data": {
  277. "folder1": {
  278. "file1": {
  279. "Total": 800,
  280. "Pulling": 2,
  281. "CopiedFromOrigin": 0,
  282. "Reused": 633,
  283. "CopiedFromElsewhere": 0,
  284. "Pulled": 38,
  285. "BytesTotal": 104792064,
  286. "BytesDone": 87883776
  287. },
  288. "dir\e\efile2": {
  289. "Total": 80,
  290. "Pulling": 2,
  291. "CopiedFromOrigin": 0,
  292. "Reused": 0,
  293. "CopiedFromElsewhere": 0,
  294. "Pulled": 32,
  295. "BytesTotal": 10420224,
  296. "BytesDone": 4128768
  297. }
  298. },
  299. "folder2": {
  300. "file3": {
  301. "Total": 800,
  302. "Pulling": 2,
  303. "CopiedFromOrigin": 0,
  304. "Reused": 633,
  305. "CopiedFromElsewhere": 0,
  306. "Pulled": 38,
  307. "BytesTotal": 104792064,
  308. "BytesDone": 87883776
  309. },
  310. "dir\e\efile4": {
  311. "Total": 80,
  312. "Pulling": 2,
  313. "CopiedFromOrigin": 0,
  314. "Reused": 0,
  315. "CopiedFromElsewhere": 0,
  316. "Pulled": 32,
  317. "BytesTotal": 10420224,
  318. "BytesDone": 4128768
  319. }
  320. }
  321. }
  322. }
  323. .ft P
  324. .fi
  325. .UNINDENT
  326. .UNINDENT
  327. .INDENT 0.0
  328. .IP \(bu 2
  329. \fBTotal\fP \- total number of blocks in the file
  330. .IP \(bu 2
  331. \fBPulling\fP \- number of blocks currently being downloaded
  332. .IP \(bu 2
  333. \fBCopiedFromOrigin\fP \- number of blocks copied from the file we are
  334. about to replace
  335. .IP \(bu 2
  336. \fBReused\fP \- number of blocks reused from a previous temporary file
  337. .IP \(bu 2
  338. \fBCopiedFromElsewhere\fP \- number of blocks copied from other files or
  339. potentially other folders
  340. .IP \(bu 2
  341. \fBPulled\fP \- number of blocks actually downloaded so far
  342. .IP \(bu 2
  343. \fBBytesTotal\fP \- approximate total file size
  344. .IP \(bu 2
  345. \fBBytesDone\fP \- approximate number of bytes already handled (already
  346. reused, copied or pulled)
  347. .UNINDENT
  348. .sp
  349. Where block size is 128KB.
  350. .sp
  351. Files/folders appearing in the event data imply that the download has
  352. been started for that file/folder, where disappearing implies that the
  353. downloads have been finished or failed for that file/folder. There is
  354. always a last event emitted with no data, which implies all downloads
  355. have finished/failed.
  356. .SS FolderCompletion
  357. .sp
  358. The \fBFolderCompletion\fP event is emitted when the local or remote
  359. contents for a folder changes. It contains the completion percentage for
  360. a given remote device and is emitted once per currently connected remote
  361. device.
  362. .INDENT 0.0
  363. .INDENT 3.5
  364. .sp
  365. .nf
  366. .ft C
  367. {
  368. "id": 84,
  369. "type": "FolderCompletion",
  370. "time": "2015\-04\-17T14:14:27.043576583+09:00",
  371. "data": {
  372. "completion": 100,
  373. "device": "I6KAH76\-66SLLLB\-5PFXSOA\-UFJCDZC\-YAOMLEK\-CP2GB32\-BV5RQST\-3PSROAU",
  374. "folder": "default"
  375. }
  376. }
  377. .ft P
  378. .fi
  379. .UNINDENT
  380. .UNINDENT
  381. .SS FolderErrors
  382. .sp
  383. The \fBFolderErrors\fP event is emitted when a folder cannot be successfully
  384. synchronized. The event contains the ID of the affected folder and a list of
  385. errors for files or directories therein. This list of errors is obsolete once
  386. the folder changes state to \fBsyncing\fP \- if errors remain after the next
  387. synchronization attempt, a new \fBFolderErrors\fP event is emitted.
  388. .INDENT 0.0
  389. .INDENT 3.5
  390. .sp
  391. .nf
  392. .ft C
  393. {
  394. "id": 132,
  395. "type": "FolderErrors",
  396. "time": "2015\-06\-26T13:39:24.697401384+02:00",
  397. "data": {
  398. "errors": [
  399. {
  400. "error": "open /Users/jb/src/github.com/syncthing/syncthing/test/s2/h2j/.syncthing.aslkjd.tmp: permission denied",
  401. "path": "h2j/aslkjd"
  402. }
  403. ],
  404. "folder": "default"
  405. }
  406. }
  407. .ft P
  408. .fi
  409. .UNINDENT
  410. .UNINDENT
  411. .sp
  412. New in version 0.11.12.
  413. .sp
  414. \fBSEE ALSO:\fP
  415. .INDENT 0.0
  416. .INDENT 3.5
  417. The statechanged event.
  418. .UNINDENT
  419. .UNINDENT
  420. .SS FolderRejected
  421. .sp
  422. Emitted when a device sends index information for a folder we do not
  423. have, or have but do not share with the device in question.
  424. .INDENT 0.0
  425. .INDENT 3.5
  426. .sp
  427. .nf
  428. .ft C
  429. {
  430. "id": 27,
  431. "type": "FolderRejected",
  432. "time": "2014\-08\-19T10:41:06.761751399+02:00",
  433. "data": {
  434. "device": "EJHMPAQ\-OGCVORE\-ISB4IS3\-SYYVJXF\-TKJGLTU\-66DIQPF\-GJ5D2GX\-GQ3OWQK",
  435. "folder": "GXWxf\-3zgnU",
  436. "folderLabel": "My Pictures"
  437. }
  438. }
  439. .ft P
  440. .fi
  441. .UNINDENT
  442. .UNINDENT
  443. .SS FolderSummary
  444. .sp
  445. The FolderSummary event is emitted when folder contents have changed
  446. locally. This can be used to calculate the current local completion
  447. state.
  448. .INDENT 0.0
  449. .INDENT 3.5
  450. .sp
  451. .nf
  452. .ft C
  453. {
  454. "id": 16,
  455. "type": "FolderSummary",
  456. "time": "2015\-04\-17T14:12:20.460121585+09:00",
  457. "data": {
  458. "folder": "default",
  459. "summary": {
  460. "globalBytes": 0,
  461. "globalDeleted": 0,
  462. "globalFiles": 0,
  463. "ignorePatterns": false,
  464. "inSyncBytes": 0,
  465. "inSyncFiles": 0,
  466. "invalid": "",
  467. "localBytes": 0,
  468. "localDeleted": 0,
  469. "localFiles": 0,
  470. "needBytes": 0,
  471. "needFiles": 0,
  472. "state": "idle",
  473. "stateChanged": "2015\-04\-17T14:12:12.455224687+09:00",
  474. "version": 0
  475. }
  476. }
  477. }
  478. .ft P
  479. .fi
  480. .UNINDENT
  481. .UNINDENT
  482. .SS ItemFinished
  483. .sp
  484. Generated when Syncthing ends synchronizing a file to a newer version. A
  485. successful operation:
  486. .INDENT 0.0
  487. .INDENT 3.5
  488. .sp
  489. .nf
  490. .ft C
  491. {
  492. "id": 93,
  493. "type": "ItemFinished",
  494. "time": "2014\-07\-13T21:22:03.414609034+02:00",
  495. "data": {
  496. "item": "test.txt",
  497. "folder": "default",
  498. "error": null,
  499. "type": "file",
  500. "action": "update"
  501. }
  502. }
  503. .ft P
  504. .fi
  505. .UNINDENT
  506. .UNINDENT
  507. .sp
  508. An unsuccessful operation:
  509. .INDENT 0.0
  510. .INDENT 3.5
  511. .sp
  512. .nf
  513. .ft C
  514. {
  515. "id": 44,
  516. "type": "ItemFinished",
  517. "time": "2015\-05\-27T11:21:05.711133004+02:00",
  518. "data": {
  519. "action": "update",
  520. "error": "open /Users/jb/src/github.com/syncthing/syncthing/test/s2/foo/.syncthing.hej.tmp: permission denied",
  521. "folder": "default",
  522. "item": "foo/hej",
  523. "type": "file"
  524. }
  525. }
  526. .ft P
  527. .fi
  528. .UNINDENT
  529. .UNINDENT
  530. .sp
  531. The \fBaction\fP field is either \fBupdate\fP (contents changed), \fBmetadata\fP (file metadata changed but not contents), or \fBdelete\fP\&.
  532. .sp
  533. New in version 0.11.10: The \fBmetadata\fP action.
  534. .SS ItemStarted
  535. .sp
  536. Generated when Syncthing begins synchronizing a file to a newer version.
  537. .INDENT 0.0
  538. .INDENT 3.5
  539. .sp
  540. .nf
  541. .ft C
  542. {
  543. "id": 93,
  544. "type": "ItemStarted",
  545. "time": "2014\-07\-13T21:22:03.414609034+02:00",
  546. "data": {
  547. "item": "test.txt",
  548. "folder": "default",
  549. "type": "file",
  550. "action": "update"
  551. }
  552. }
  553. .ft P
  554. .fi
  555. .UNINDENT
  556. .UNINDENT
  557. .sp
  558. The \fBaction\fP field is either \fBupdate\fP (contents changed), \fBmetadata\fP (file metadata changed but not contents), or \fBdelete\fP\&.
  559. .sp
  560. New in version 0.11.10: The \fBmetadata\fP action.
  561. .SS LocalIndexUpdated
  562. .sp
  563. Generated when the local index information has changed, due to
  564. synchronizing one or more items from the cluster or discovering local
  565. changes during a scan.
  566. .INDENT 0.0
  567. .INDENT 3.5
  568. .sp
  569. .nf
  570. .ft C
  571. {
  572. "id": 59,
  573. "type": "LocalIndexUpdated",
  574. "time": "2014\-07\-17T13:27:28.051369434+02:00",
  575. "data": {
  576. "folder": "default",
  577. "items": 1000,
  578. }
  579. }
  580. .ft P
  581. .fi
  582. .UNINDENT
  583. .UNINDENT
  584. .SS Ping
  585. .sp
  586. The Ping event is generated automatically every 60 seconds. This means
  587. that even in the absence of any other activity, the event polling HTTP
  588. request will return within a minute.
  589. .INDENT 0.0
  590. .INDENT 3.5
  591. .sp
  592. .nf
  593. .ft C
  594. {
  595. "id": 46,
  596. "type": "Ping",
  597. "time": "2014\-07\-13T21:13:18.502171586+02:00",
  598. "data": null
  599. }
  600. .ft P
  601. .fi
  602. .UNINDENT
  603. .UNINDENT
  604. .SS RemoteIndexUpdated
  605. .sp
  606. Generated each time new index information is received from a device.
  607. .INDENT 0.0
  608. .INDENT 3.5
  609. .sp
  610. .nf
  611. .ft C
  612. {
  613. "id": 44,
  614. "type": "RemoteIndexUpdated",
  615. "time": "2014\-07\-13T21:04:35.394184435+02:00",
  616. "data": {
  617. "device": "NFGKEKE\-7Z6RTH7\-I3PRZXS\-DEJF3UJ\-FRWJBFO\-VBBTDND\-4SGNGVZ\-QUQHJAG",
  618. "folder": "lightroom",
  619. "items": 1000
  620. }
  621. }
  622. .ft P
  623. .fi
  624. .UNINDENT
  625. .UNINDENT
  626. .SS Starting
  627. .sp
  628. Emitted exactly once, when Syncthing starts, before parsing
  629. configuration etc.
  630. .INDENT 0.0
  631. .INDENT 3.5
  632. .sp
  633. .nf
  634. .ft C
  635. {
  636. "id": 1,
  637. "type": "Starting",
  638. "time": "2014\-07\-17T13:13:32.044470055+02:00",
  639. "data": {
  640. "home": "/home/jb/.config/syncthing"
  641. }
  642. }
  643. .ft P
  644. .fi
  645. .UNINDENT
  646. .UNINDENT
  647. .SS StartupComplete
  648. .sp
  649. Emitted exactly once, when initialization is complete and Syncthing is
  650. ready to start exchanging data with other devices.
  651. .INDENT 0.0
  652. .INDENT 3.5
  653. .sp
  654. .nf
  655. .ft C
  656. {
  657. "id": 1,
  658. "type": "StartupComplete",
  659. "time": "2014\-07\-13T21:03:18.383239179+02:00",
  660. "data": null
  661. }
  662. .ft P
  663. .fi
  664. .UNINDENT
  665. .UNINDENT
  666. .SS StateChanged
  667. .sp
  668. Emitted when a folder changes state. Possible states are \fBidle\fP,
  669. \fBscanning\fP, \fBsyncing\fP and \fBerror\fP\&. The field \fBduration\fP is
  670. the number of seconds the folder spent in state \fBfrom\fP\&. In the example
  671. below, the folder \fBdefault\fP was in state \fBscanning\fP for 0.198
  672. seconds and is now in state \fBidle\fP\&.
  673. .INDENT 0.0
  674. .INDENT 3.5
  675. .sp
  676. .nf
  677. .ft C
  678. {
  679. "id": 8,
  680. "type": "StateChanged",
  681. "time": "2014\-07\-17T13:14:28.697493016+02:00",
  682. "data": {
  683. "folder": "default",
  684. "from": "scanning",
  685. "duration": 0.19782869900000002,
  686. "to": "idle"
  687. }
  688. }
  689. .ft P
  690. .fi
  691. .UNINDENT
  692. .UNINDENT
  693. .SH AUTHOR
  694. The Syncthing Authors
  695. .SH COPYRIGHT
  696. 2015, The Syncthing Authors
  697. .\" Generated by docutils manpage writer.
  698. .