Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@nextcloud.com>2017-05-09 11:10:16 +0300
committerMaxence Lange <maxence@nextcloud.com>2017-05-09 11:10:16 +0300
commit93e4bd3495e4eb43f3281a800503b4781b1b6a9b (patch)
treef65fa3798658d1ed9f1d2599ecf7de44982b72c9 /lib
parentce2afca0e424cfcf5242b55a375ebb29ae51f8f6 (diff)
using title as name
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/RichObjectStrings/Definitions.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php
index ad7cf06b3da..2b5788d97a2 100644
--- a/lib/public/RichObjectStrings/Definitions.php
+++ b/lib/public/RichObjectStrings/Definitions.php
@@ -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,