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
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-05-09 12:15:56 +0300
committerGitHub <noreply@github.com>2017-05-09 12:15:55 +0300
commit62f26101291b16429b0fcf00bf0a82bbd5655ab2 (patch)
tree71a4e33f5f5f214565c2586eda3837727657485a
parent07fe15eea577e5844e95dd3b11bc41f8d0bbf14d (diff)
parenta089e084116e88b3cad35b2f3a294445d78d8a3d (diff)
Merge pull request #4736 from nextcloud/richdef-opengraphv12.0.0beta2
open-graph
-rw-r--r--lib/public/RichObjectStrings/Definitions.php68
1 files changed, 68 insertions, 0 deletions
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php
index f1208ae0f2c..b938fa5e6cb 100644
--- a/lib/public/RichObjectStrings/Definitions.php
+++ b/lib/public/RichObjectStrings/Definitions.php
@@ -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',