Merge pull request #4736 from nextcloud/richdef-opengraph

open-graph
This commit is contained in:
Lukas Reschke 2017-05-09 11:15:56 +02:00 committed by GitHub
commit 62f2610129

View file

@ -177,6 +177,31 @@ class Definitions {
],
],
],
'circle' => [
'author' => 'Maxence Lange',
'app' => 'circles',
'since' => '12.0.0',
'parameters' => [
'id' => [
'since' => '12.0.0',
'required' => true,
'description' => 'The id used to identify the circle on the instance',
'example' => '42',
],
'name' => [
'since' => '12.0.0',
'required' => true,
'description' => 'The display name of the circle which should be used in the visual representation',
'example' => 'My friends',
],
'link' => [
'since' => '12.0.0',
'required' => true,
'description' => 'The full URL to the circle',
'example' => 'http://localhost/index.php/apps/circles/#42',
],
],
],
'email' => [
'author' => 'Nextcloud',
'app' => 'sharebymail',
@ -227,6 +252,49 @@ class Definitions {
],
],
],
'open-graph' => [
'author' => 'Maxence Lange',
'app' => 'mood',
'since' => '12.0.0',
'parameters' => [
'id' => [
'since' => '12.0.0',
'required' => true,
'description' => 'The id used to identify the open graph data on the instance',
'example' => '42',
],
'name' => [
'since' => '12.0.0',
'required' => true,
'description' => 'The open graph title of the website',
'example' => 'This is a website',
],
'description' => [
'since' => '12.0.0',
'required' => false,
'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,
'description' => 'The name of the described website',
'example' => 'Nextcloud - App Store',
],
'link' => [
'since' => '12.0.0',
'required' => false,
'description' => 'The full link to the website',
'example' => 'https://apps.nextcloud.com/apps/mood',
],
],
],
'pending-federated-share' => [
'author' => 'Nextcloud',
'app' => 'dav',