todo_api

备忘录api


查看 所有已完成/所有待办/所有事项

<h5>简要描述</h5> <ul> <li>每页5条记录(1为已完成;2为待办;3为所有)</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>get</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> <tr> <td style="text-align: left;">page</td> <td style="text-align: left;">是</td> <td>string</td> <td>无</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ "message": "OK", "notes": [ { "body": "程序处理设备可是关系作为选择.", "deadline": "Mon, 31 Jan 2022 06:28:37 -0000", "id": 4, "start_time": "Wed, 29 Dec 2021 09:23:57 -0000", "state": true, "title": "学校由于提供的人." }, { "body": "类型设计可能能力感觉开发.", "deadline": "Sun, 13 Feb 2022 14:03:57 -0000", "id": 5, "start_time": "Tue, 21 Dec 2021 22:04:31 -0000", "state": true, "title": "所有更新介绍推荐继续地方更新." }, { "body": "基本电子得到.", "deadline": "Thu, 20 Jan 2022 08:39:07 -0000", "id": 6, "start_time": "Wed, 05 Jan 2022 14:57:05 -0000", "state": true, "title": "我的影响国家全国地址在线专业特别." }, { "body": "更新下载一定方法帖子技术时候.", "deadline": "Thu, 27 Jan 2022 07:12:48 -0000", "id": 10, "start_time": "Fri, 14 Jan 2022 07:51:54 -0000", "state": true, "title": "登录朋友汽车." }, { "body": "次数名称拥有发表今年音乐.", "deadline": "Wed, 02 Feb 2022 16:56:35 -0000", "id": 11, "start_time": "Tue, 04 Jan 2022 11:49:03 -0000", "state": true, "title": "一起由于发现知道精华得到本站." } ], "status": 200 } </code></pre> <h5>失败返回示例</h5> <pre><code>{ "message": "Not Found", "status": 404 } </code></pre> <h5>失败返回示例的参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">message</td> <td style="text-align: left;">string</td> <td>此功能不存在</td> </tr> <tr> <td style="text-align: left;">status</td> <td style="text-align: left;">string</td> <td>无</td> </tr> </tbody> </table>

页面列表

ITEM_HTML