summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOliver Bertuch <o.bertuch@fz-juelich.de>2015-01-26 11:49:38 +0100
committerOliver Bertuch <o.bertuch@fz-juelich.de>2015-01-26 11:49:38 +0100
commitc0e5a469b61c3fef2560550ba9a820a9aac31857 (patch)
tree895c604535cdf2975aff37f39ddbb1e43b81d4b9 /docs
parent62f5eeca68f8fc7ca530fe999700a9335cf1707b (diff)
Fix JSON API Documentation for getAllTasks() parameters.
Documentation told us to use parameter "status", but it actually has to be "status_id". This adds corrections to kanboard.py, too. It adds missing getTimezone() to kanboard.py, too.
Diffstat (limited to 'docs')
-rw-r--r--docs/api-json-rpc.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-json-rpc.markdown b/docs/api-json-rpc.markdown
index 184739ad..4284df08 100644
--- a/docs/api-json-rpc.markdown
+++ b/docs/api-json-rpc.markdown
@@ -1052,7 +1052,7 @@ Response example:
- Purpose: **Get all available tasks**
- Parameters:
- **project_id** (integer, required)
- - **status**: The value 1 for active tasks and 0 for inactive (integer, required)
+ - **status_id**: The value 1 for active tasks and 0 for inactive (integer, required)
- Result on success: **List of tasks**
- Result on failure: **false**
@@ -1065,7 +1065,7 @@ Request example to fetch all tasks on the board:
"id": 133280317,
"params": {
"project_id": 1,
- "status": 1
+ "status_id": 1
}
}
```