diff options
author | Maxence Lange <maxence@nextcloud.com> | 2017-05-08 15:57:41 +0300 |
---|---|---|
committer | Maxence Lange <maxence@nextcloud.com> | 2017-05-08 15:57:41 +0300 |
commit | ce2afca0e424cfcf5242b55a375ebb29ae51f8f6 (patch) | |
tree | daab4c63cd841b9e6fba9610235b48565dd73640 /lib/public/RichObjectStrings | |
parent | 6acae94a021a6e961a00fe2c33e5468461e65893 (diff) |
open-graph
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
Diffstat (limited to 'lib/public/RichObjectStrings')
-rw-r--r-- | lib/public/RichObjectStrings/Definitions.php | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php index f1208ae0f2c..ad7cf06b3da 100644 --- a/lib/public/RichObjectStrings/Definitions.php +++ b/lib/public/RichObjectStrings/Definitions.php @@ -227,6 +227,49 @@ class Definitions { ], ], ], + 'open-graph' => [ + 'author' => 'Nextcloud', + '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', + ], + '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' => [ + 'since' => '12.0.0', + 'required' => true, + 'description' => 'The open graph title from 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', + ], + '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', |