Skip to content
Snippets Groups Projects
Commit 62f26101 authored by Lukas Reschke's avatar Lukas Reschke Committed by GitHub
Browse files

Merge pull request #4736 from nextcloud/richdef-opengraph

open-graph
parents 07fe15ee a089e084
No related branches found
No related tags found
No related merge requests found
...@@ -177,6 +177,31 @@ class Definitions { ...@@ -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' => [ 'email' => [
'author' => 'Nextcloud', 'author' => 'Nextcloud',
'app' => 'sharebymail', 'app' => 'sharebymail',
...@@ -227,6 +252,49 @@ class Definitions { ...@@ -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' => [ 'pending-federated-share' => [
'author' => 'Nextcloud', 'author' => 'Nextcloud',
'app' => 'dav', 'app' => 'dav',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment