add partial documentation for dueDate parameter in /api/v3/tasks/user and related code

This commit is contained in:
Alys
2018-04-18 23:22:11 +10:00
parent 3a1888739a
commit ade14edcd7
2 changed files with 2 additions and 0 deletions

View File

@@ -270,6 +270,7 @@ api.createChallengeTasks = {
* @apiGroup Task
*
* @apiParam (Query) {String="habits","dailys","todos","rewards","completedTodos"} type Optional query parameter to return just a type of tasks. By default all types will be returned except completed todos that must be requested separately. The "completedTodos" type returns only the 30 most recently completed.
* @apiParam (Query) [dueDate]
*
* @apiSuccess {Array} data An array of tasks
*