diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go
index <HASH>..<HASH> 100644
--- a/cmd/syncthing/gui.go
+++ b/cmd/syncthing/gui.go
@@ -119,12 +119,16 @@ type guiFile scanner.File
 
 func (f guiFile) MarshalJSON() ([]byte, error) {
 	type t struct {
-		Name string
-		Size int64
+		Name     string
+		Size     int64
+		Modified int64
+		Flags    uint32
 	}
 	return json.Marshal(t{
-		Name: f.Name,
-		Size: scanner.File(f).Size,
+		Name:     f.Name,
+		Size:     scanner.File(f).Size,
+		Modified: f.Modified,
+		Flags:    f.Flags,
 	})
 }
Expose a bit more information about needed file in REST interface