]> source.dussan.org Git - nextcloud-server.git/commitdiff
using title as name
authorMaxence Lange <maxence@nextcloud.com>
Tue, 9 May 2017 08:10:16 +0000 (07:10 -0100)
committerMaxence Lange <maxence@nextcloud.com>
Tue, 9 May 2017 08:10:16 +0000 (07:10 -0100)
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
lib/public/RichObjectStrings/Definitions.php

index ad7cf06b3da5194eb66ec9f67310c5410702b08f..2b5788d97a2f80890ff33243844d8fe05adf3089 100644 (file)
@@ -238,16 +238,10 @@ class Definitions {
                                        'description' => 'The id used to identify the open graph data on the instance',
                                        'example' => '42',
                                ],
-                               'thumb' => [
-                                       'since' => '12.0.0',
-                                       'required' => false,
-                                       'description' => 'The full URL of the open graph thumbnail',
-                                       'example' => 'http://localhost/index.php/apps/mood/data/image?url=https%3A%2F%2Fthumb.example.com%2Fimage.png',
-                               ],
-                               'title' => [
+                               'name' => [
                                        'since' => '12.0.0',
                                        'required' => true,
-                                       'description' => 'The open graph title from the website',
+                                       'description' => 'The open graph title of the website',
                                        'example' => 'This is a website',
                                ],
                                'description' => [
@@ -256,6 +250,12 @@ class Definitions {
                                        'description' => 'The open graph description from the website',
                                        'example' => 'This is the description of the website',
                                ],
+                               'thumb' => [
+                                       'since' => '12.0.0',
+                                       'required' => false,
+                                       'description' => 'The full URL of the open graph thumbnail',
+                                       'example' => 'http://localhost/index.php/apps/mood/data/image?url=https%3A%2F%2Fthumb.example.com%2Fimage.png',
+                               ],
                                'website' => [
                                        'since' => '12.0.0',
                                        'required' => false,