using title as name

Signed-off-by: Maxence Lange <maxence@nextcloud.com>
This commit is contained in:
Maxence Lange 2017-05-09 07:10:16 -01:00
parent ce2afca0e4
commit 93e4bd3495
1 changed files with 8 additions and 8 deletions

View File

@ -238,16 +238,10 @@ class Definitions {
'description' => 'The id used to identify the open graph data on the instance', 'description' => 'The id used to identify the open graph data on the instance',
'example' => '42', 'example' => '42',
], ],
'thumb' => [ 'name' => [
'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' => [
'since' => '12.0.0', 'since' => '12.0.0',
'required' => true, 'required' => true,
'description' => 'The open graph title from the website', 'description' => 'The open graph title of the website',
'example' => 'This is a website', 'example' => 'This is a website',
], ],
'description' => [ 'description' => [
@ -256,6 +250,12 @@ class Definitions {
'description' => 'The open graph description from the website', 'description' => 'The open graph description from the website',
'example' => 'This is the description of 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' => [ 'website' => [
'since' => '12.0.0', 'since' => '12.0.0',
'required' => false, 'required' => false,