ItemFinishedΒΆ

Generated when Syncthing ends synchronizing a file to a newer version. A successful operation:

{
    "id": 93,
    "globalID": 93,
    "type": "ItemFinished",
    "time": "2014-07-13T21:22:03.414609034+02:00",
    "data": {
        "item": "test.txt",
        "folder": "default",
        "error": null,
        "type": "file",
        "action": "update"
    }
}

An unsuccessful operation:

{
    "id": 44,
    "globalID": 44,
    "type": "ItemFinished",
    "time": "2015-05-27T11:21:05.711133004+02:00",
    "data": {
        "action": "update",
        "error": "open /Users/jb/src/github.com/syncthing/syncthing/test/s2/foo/.syncthing.hej.tmp: permission denied",
        "folder": "default",
        "item": "foo/hej",
        "type": "file"
    }
}

The action field is either update (contents changed), metadata (file metadata changed but not contents), or delete.

Added in version 0.11.10: The metadata action.