summaryrefslogtreecommitdiff
path: root/app/Api/BoardApi.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Api/BoardApi.php')
-rw-r--r--app/Api/BoardApi.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/Api/BoardApi.php b/app/Api/BoardApi.php
new file mode 100644
index 00000000..c7d93aa0
--- /dev/null
+++ b/app/Api/BoardApi.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace Kanboard\Api;
+
+/**
+ * Board API controller
+ *
+ * @package Kanboard\Api
+ * @author Frederic Guillot
+ */
+class BoardApi extends BaseApi
+{
+ public function getBoard($project_id)
+ {
+ $this->checkProjectPermission($project_id);
+ return $this->board->getBoard($project_id);
+ }
+}