]> source.dussan.org Git - nextcloud-server.git/commitdiff
Deck Rich-Object-String definitions for deck boards and cards 25070/head
authorJoas Schilling <coding@schilljs.com>
Mon, 11 Jan 2021 11:03:13 +0000 (12:03 +0100)
committerJoas Schilling <coding@schilljs.com>
Mon, 11 Jan 2021 11:03:13 +0000 (12:03 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/public/RichObjectStrings/Definitions.php

index 671652cc190c39ee345cb232893395347d4656f2..263913f27e15bf230e24e94a976da0eee367e192 100644 (file)
@@ -219,6 +219,68 @@ class Definitions {
                                ],
                        ],
                ],
+               'deck-board' => [
+                       'author' => 'Nextcloud',
+                       'app' => 'deck',
+                       'since' => '21.0.0',
+                       'parameters' => [
+                               'id' => [
+                                       'since' => '21.0.0',
+                                       'required' => true,
+                                       'description' => 'The id used to identify the board on the instance',
+                                       'example' => '1',
+                               ],
+                               'name' => [
+                                       'since' => '21.0.0',
+                                       'required' => true,
+                                       'description' => 'The display name of the deck board',
+                                       'example' => 'Personal',
+                               ],
+                               'link' => [
+                                       'since' => '21.0.0',
+                                       'required' => true,
+                                       'description' => 'The full URL to the board',
+                                       'example' => 'http://localhost/index.php/apps/deck/#/board/1',
+                               ],
+                       ],
+               ],
+               'deck-card' => [
+                       'author' => 'Nextcloud',
+                       'app' => 'deck',
+                       'since' => '21.0.0',
+                       'parameters' => [
+                               'id' => [
+                                       'since' => '21.0.0',
+                                       'required' => true,
+                                       'description' => 'The id used to identify the card on the instance',
+                                       'example' => '1',
+                               ],
+                               'name' => [
+                                       'since' => '21.0.0',
+                                       'required' => true,
+                                       'description' => 'The title of the deck card',
+                                       'example' => 'Foo Bar',
+                               ],
+                               'boardname' => [
+                                       'since' => '21.0.0',
+                                       'required' => true,
+                                       'description' => 'The display name of board which contains the card',
+                                       'example' => 'Personal',
+                               ],
+                               'stackname' => [
+                                       'since' => '21.0.0',
+                                       'required' => true,
+                                       'description' => 'The display name of the stack which contains the card in the board',
+                                       'example' => 'To do',
+                               ],
+                               'link' => [
+                                       'since' => '21.0.0',
+                                       'required' => true,
+                                       'description' => 'The full URL to the card directly',
+                                       'example' => 'https://nextcloud21.local/index.php/apps/deck/#/board/1/card/1',
+                               ],
+                       ],
+               ],
                'email' => [
                        'author' => 'Nextcloud',
                        'app' => 'sharebymail',