]> source.dussan.org Git - nextcloud-server.git/commitdiff
feat(RichObjectStrings): Add missing Talk 'file' metadata fields 45424/head
authorprovokateurin <kate@provokateurin.de>
Tue, 21 May 2024 14:46:58 +0000 (16:46 +0200)
committerprovokateurin <kate@provokateurin.de>
Tue, 21 May 2024 14:46:58 +0000 (16:46 +0200)
Signed-off-by: provokateurin <kate@provokateurin.de>
lib/public/RichObjectStrings/Definitions.php

index a0f395e43ee4876a1b7be912407def62c19f796f..67957c882b309906996cc22298b9cadf4adfc3f6 100644 (file)
@@ -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' => [