make corrections and improvements to apidocs (no code changes)

This commit is contained in:
Alys
2020-02-08 14:12:20 +10:00
parent 71cc313c9a
commit c5d0ff63a5
16 changed files with 116 additions and 105 deletions
+3 -2
View File
@@ -1477,8 +1477,9 @@ api.unlinkOneTask = {
};
/**
* @api {post} /api/v3/tasks/clearCompletedTodos Delete user's completed todos
* @api {post} /api/v3/tasks/clearCompletedTodos Delete user's completed To-Dos
* @apiName ClearCompletedTodos
* @apiDescription Deletes all of a user's completed To-Dos except those belonging to active Challenges and Group Plans
* @apiGroup Task
*
* @apiExample {curl} Example call:
@@ -1523,7 +1524,7 @@ api.clearCompletedTodos = {
};
/**
* @api {delete} /api/v3/tasks/:taskId Delete a task given its id
* @api {delete} /api/v3/tasks/:taskId Delete a task
* @apiName DeleteTask
* @apiGroup Task
*