From 48f480d2cce72f916d404c60beacb7a1bc7a115e Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 24 Sep 2026 16:38:01 +0200 Subject: [PATCH] feat: add additional metadata to node webhooks Signed-off-by: Robin Appelman --- lib/public/EventDispatcher/JsonSerializer.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/public/EventDispatcher/JsonSerializer.php b/lib/public/EventDispatcher/JsonSerializer.php index d05367b746d20..c0eae70274ee7 100644 --- a/lib/public/EventDispatcher/JsonSerializer.php +++ b/lib/public/EventDispatcher/JsonSerializer.php @@ -34,6 +34,10 @@ public static function serializeFileInfo(FileInfo $node): array { return [ 'id' => $node->getId(), 'path' => $node->getPath(), + 'type' => $node->getType(), + 'mimetype' => $node->getMimetype(), + 'size' => $node->getSize(), + 'mtime' => $node->getMtime(), ]; } }