From 1061af646580f1dcb731568329996cf2e7adfbd2 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Tue, 21 May 2024 16:46:58 +0200 Subject: [PATCH] feat(RichObjectStrings): Add missing Talk 'file' metadata fields Signed-off-by: provokateurin --- lib/public/RichObjectStrings/Definitions.php | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php index a0f395e43ee48..67957c882b309 100644 --- a/lib/public/RichObjectStrings/Definitions.php +++ b/lib/public/RichObjectStrings/Definitions.php @@ -368,6 +368,30 @@ class Definitions { 'description' => 'The mtime of the file/folder as unix timestamp', 'example' => '1661854213', ], + 'etag' => [ + 'since' => '25.0.0', + 'required' => false, + 'description' => 'The ETag of the file/folder', + 'example' => 'abcdefghi', + ], + 'permissions' => [ + 'since' => '25.0.0', + 'required' => false, + 'description' => 'The permissions on the file/folder', + 'example' => '3', + ], + 'width' => [ + 'since' => '29.0.0', + 'required' => false, + 'description' => 'The width in pixels if the file is an image', + 'example' => '1920', + ], + 'height' => [ + 'since' => '29.0.0', + 'required' => false, + 'description' => 'The height in pixels if the file is an image', + 'example' => '1080', + ], ], ], 'forms-form' => [