File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 * mimeType: string,
1818 * hasPreview: bool,
1919 * reason: string,
20+ * owner: ?string,
21+ * permissions: int,
2022 * }
2123 *
2224 * @psalm-suppress UnusedClass
Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ public function jsonSerialize() {
7575 'mimeType ' => $ this ->node ->getMimetype (),
7676 'hasPreview ' => $ this ->hasPreview (),
7777 'reason ' => $ this ->getReason (),
78+ 'owner ' => $ this ->node ->getOwner ()?->getUID() ?: null ,
79+ 'permissions ' => $ this ->node ->getPermissions (),
7880 ];
7981 }
8082}
Original file line number Diff line number Diff line change 7070 " extension" ,
7171 " mimeType" ,
7272 " hasPreview" ,
73- " reason"
73+ " reason" ,
74+ " owner" ,
75+ " permissions"
7476 ],
7577 "properties" : {
7678 "id" : {
9799 },
98100 "reason" : {
99101 "type" : " string"
102+ },
103+ "owner" : {
104+ "type" : " string" ,
105+ "nullable" : true
106+ },
107+ "permissions" : {
108+ "type" : " integer" ,
109+ "format" : " int64"
100110 }
101111 }
102112 }
You can’t perform that action at this time.
0 commit comments