]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add circle as well 4736/head
authorJoas Schilling <coding@schilljs.com>
Tue, 9 May 2017 08:44:11 +0000 (10:44 +0200)
committerJoas Schilling <coding@schilljs.com>
Tue, 9 May 2017 08:45:10 +0000 (10:45 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/public/RichObjectStrings/Definitions.php

index 2fc9b44fe60297e71751de79553e21b97ec902c0..b938fa5e6cbc420f0a927e6215f84c7868aa700b 100644 (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',