syncthingtray/syncthingconnector/testfiles/mocks/events-01.json

106 lines
3.2 KiB
JSON

[
{
"id": 2,
"globalID": 3,
"type": "DeviceConnected",
"time": "2018-07-13T21:04:33.687836696+02:00",
"data": {
"addr": "172.16.32.25:22000",
"id": "53STGR7-YBM6FCX-PAZ2RHM-YPY6OEJ-WYHVZO7-PCKQRCK-PZLTP7T"
}
},
{
"id": 3,
"type": "DownloadProgress",
"time": "2018-12-13T00:26:12.9876937Z",
"data": {
"zX8xfl3ygn-": {
"file1": {
"Total": 800,
"Pulling": 2,
"CopiedFromOrigin": 0,
"Reused": 633,
"CopiedFromElsewhere": 0,
"Pulled": 38,
"BytesTotal": 104792064,
"BytesDone": 47883776
},
"dir\\file2": {
"Total": 80,
"Pulling": 2,
"CopiedFromOrigin": 0,
"Reused": 0,
"CopiedFromElsewhere": 0,
"Pulled": 32,
"BytesTotal": 10420224,
"BytesDone": 4128768
}
},
"GXWxf-3zgnU": {
"file3": {
"Total": 800,
"Pulling": 2,
"CopiedFromOrigin": 0,
"Reused": 633,
"CopiedFromElsewhere": 0,
"Pulled": 38,
"BytesTotal": 104792064,
"BytesDone": 87883776
},
"directory1\\directory\\directory3\\directory4\\directory5\\directory3\\directory4\\directory5\\file4": {
"Total": 80,
"Pulling": 2,
"CopiedFromOrigin": 0,
"Reused": 0,
"CopiedFromElsewhere": 0,
"Pulled": 32,
"BytesTotal": 10420224,
"BytesDone": 4128768
},
"file4": {
"Total": 80,
"Pulling": 2,
"CopiedFromOrigin": 0,
"Reused": 0,
"CopiedFromElsewhere": 0,
"Pulled": 32,
"BytesTotal": 2048,
"BytesDone": 1024
}
}
}
},
{
"id": 3,
"type": "FolderErrors",
"time": "2000-06-26T13:39:24.697401384+02:00",
"data": {
"errors": [
{
"error": "should be ignored",
"path": "some path"
}
],
"folder": "GXWxf-3zgnU"
}
},
{
"id": 3,
"type": "FolderErrors",
"time": "2018-06-26T13:39:24.697401384+02:00",
"data": {
"errors": [
{
"error": "open some/file: permission denied",
"path": "some/file"
},
{
"error": "chmod some/other/file: permission denied",
"path": "some/other/file"
}
],
"folder": "zX8xfl3ygn-"
}
}
]