summaryrefslogtreecommitdiff
path: root/jsonrpc.php
diff options
context:
space:
mode:
authorFrancois Ferrand <thetypz@gmail.com>2015-02-24 12:04:38 +0100
committerFrancois Ferrand <thetypz@gmail.com>2015-02-24 12:04:38 +0100
commit9f0e13b764febecf8d0979bd1d9da4dc5ff98729 (patch)
tree9d6daa6e4c0ab15446b019f581f8315a27b3b38c /jsonrpc.php
parent0450d86a18b1bc16b88bf3d3540a00eb9318203e (diff)
Add REST api to manage swimlanes.
Diffstat (limited to 'jsonrpc.php')
-rw-r--r--jsonrpc.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/jsonrpc.php b/jsonrpc.php
index 566976cd..1fd60550 100644
--- a/jsonrpc.php
+++ b/jsonrpc.php
@@ -61,6 +61,18 @@ $server->bind('addColumn', $container['board'], 'addColumn');
$server->bind('removeColumn', $container['board'], 'removeColumn');
/**
+ * Swimlane procedures
+ */
+$server->bind('getSwimlanes', $container['swimlane'], 'getSwimlanes');
+$server->bind('addSwimlane', $container['swimlane'], 'create');
+$server->bind('updateSwimlane', $container['swimlane'], 'rename');
+$server->bind('removeSwimlane', $container['swimlane'], 'remove');
+$server->bind('disableSwimlane', $container['swimlane'], 'disable');
+$server->bind('enableSwimlane', $container['swimlane'], 'enable');
+$server->bind('moveSwimlaneUp', $container['swimlane'], 'moveUp');
+$server->bind('moveSwimlaneDown', $container['swimlane'], 'moveDown');
+
+/**
* Project permissions procedures
*/
$server->bind('getMembers', $container['projectPermission'], 'getMembers');