删除所有已完成/所有待办/所有事项
<h5>简要描述</h5>
<ul>
<li>0为所有;1为已完成;2为待办</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://127.0.0.1:5000/todo/api/v1.0/tasks</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>delete</li>
</ul>
<h5>请求Query参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>无</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"message": "No Content",
"notes": [
{
"body": "学生选择功能来源质量.",
"deadline": "Fri, 21 Jan 2022 12:32:54 -0000",
"id": 2,
"start_time": "Tue, 11 Jan 2022 21:03:43 -0000",
"state": true,
"title": "经济表示个人点击."
},
{
"body": "虽然浏览工程标题.",
"deadline": "Wed, 26 Jan 2022 13:59:51 -0000",
"id": 3,
"start_time": "Tue, 21 Dec 2021 03:07:35 -0000",
"state": true,
"title": "其他组织环境法律."
},
{
"body": "任何活动东西发展客户.",
"deadline": "Thu, 27 Jan 2022 19:11:24 -0000",
"id": 11,
"start_time": "Sat, 08 Jan 2022 17:54:08 -0000",
"state": true,
"title": "电子地方自己帖子威望内容."
},
{
"body": "决定喜欢本站单位经济.",
"deadline": "Fri, 21 Jan 2022 14:18:51 -0000",
"id": 12,
"start_time": "Fri, 14 Jan 2022 04:11:08 -0000",
"state": true,
"title": "已经完全世界质量用户时候关于."
},
{
"body": "完成必须中心提高事情为什.",
"deadline": "Mon, 24 Jan 2022 01:54:52 -0000",
"id": 13,
"start_time": "Wed, 29 Dec 2021 17:46:34 -0000",
"state": true,
"title": "还有积分自己联系介绍论坛."
},
{
"body": "软件类别资料孩子.",
"deadline": "Sat, 12 Feb 2022 06:03:38 -0000",
"id": 14,
"start_time": "Thu, 06 Jan 2022 08:33:40 -0000",
"state": true,
"title": "因为状态今天为了."
},
{
"body": "投资出来作者合作但是一个记者.",
"deadline": "Thu, 10 Feb 2022 04:39:13 -0000",
"id": 15,
"start_time": "Fri, 14 Jan 2022 13:46:09 -0000",
"state": true,
"title": "怎么中心这些."
},
{
"body": "看到完成电脑当前那个联系你们.",
"deadline": "Thu, 03 Feb 2022 21:30:28 -0000",
"id": 16,
"start_time": "Tue, 21 Dec 2021 11:43:46 -0000",
"state": true,
"title": "任何项目用户提高有些."
},
{
"body": "包括功能一定电脑以及类别浏览.",
"deadline": "Fri, 21 Jan 2022 06:36:19 -0000",
"id": 18,
"start_time": "Thu, 30 Dec 2021 23:39:37 -0000",
"state": true,
"title": "作者出现问题详细."
},
{
"body": "但是世界的人组织客户如何.",
"deadline": "Fri, 21 Jan 2022 09:04:35 -0000",
"id": 19,
"start_time": "Fri, 31 Dec 2021 13:48:14 -0000",
"state": true,
"title": "处理之间知道."
},
{
"body": "商品可以运行参加.",
"deadline": "Thu, 03 Feb 2022 23:55:14 -0000",
"id": 20,
"start_time": "Wed, 22 Dec 2021 19:18:46 -0000",
"state": true,
"title": "自己文化以下商品设计."
}
],
"status": 200
}
</code></pre>
<h5>失败返回示例</h5>
<pre><code>{
"message": "Not Found",
"status": 404
}
</code></pre>