From f0753a839ec0544566eec398512f4f862c688171 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 22 Jul 2014 10:07:18 -0230 Subject: Update JSON API documentation --- docs/api-json-rpc.markdown | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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** -- cgit v1.2.3