summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-01-11 13:31:21 +0100
committerGitHub <noreply@github.com>2021-01-11 13:31:21 +0100
commit683685b72c90a892904026560ac4eba740d20382 (patch)
treee494c8ec16731cc7c0205b81ac6df5f1c5b0e440 /lib
parent27c932ae295bbfc0ebabfccaca4bb7edf8c390df (diff)
parent078ecac188525490f7bc560c212070167249263b (diff)
downloadnextcloud-server-683685b72c90a892904026560ac4eba740d20382.tar.gz
nextcloud-server-683685b72c90a892904026560ac4eba740d20382.zip
Merge pull request #25070 from nextcloud/feature/noid/card-ros-definitions
Deck Rich-Object-String definitions for deck boards and cards
Diffstat (limited to 'lib')
-rw-r--r--lib/public/RichObjectStrings/Definitions.php62
1 files changed, 62 insertions, 0 deletions
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php
index 671652cc190..263913f27e1 100644
--- a/lib/public/RichObjectStrings/Definitions.php
+++ b/lib/public/RichObjectStrings/Definitions.php
@@ -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',