summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-07-22 10:07:18 -0230
committerFrédéric Guillot <fred@kanboard.net>2014-07-22 10:07:18 -0230
commitf0753a839ec0544566eec398512f4f862c688171 (patch)
tree2b0ca1343782f9bd6c484034e81f0445968a8595
parent9e1dcf21dc5d65bcc4195f1ae4caedbe57835415 (diff)
Update JSON API documentation
-rw-r--r--docs/api-json-rpc.markdown14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/api-json-rpc.markdown b/docs/api-json-rpc.markdown
index b275a948..c06943bb 100644
--- a/docs/api-json-rpc.markdown
+++ b/docs/api-json-rpc.markdown
@@ -236,6 +236,20 @@ Procedures
- Result on success: **true**
- Result on failure: **false**
+### openTask
+
+- Purpose: **Set a task to the status open**
+- Parameters: **task_id** (integer)
+- Result on success: **true**
+- Result on failure: **false**
+
+### closeTask
+
+- Purpose: **Set a task to the status close**
+- Parameters: **task_id** (integer)
+- Result on success: **true**
+- Result on failure: **false**
+
### removeTask
- Purpose: **Remove a task**