All Projects → maoruibin → liuye

maoruibin / liuye

Licence: other
柳叶清单开放 API 文档

Projects that are alternatives of or similar to liuye

ttdl
TTDL - Terminal Todo List Manager
Stars: ✭ 91 (+184.38%)
Mutual labels:  todolist, todos
Streak-Tasks
Streak Tasks Habit Tracker
Stars: ✭ 27 (-15.62%)
Mutual labels:  todolist, todos
Todo-List
✔️ Create to-do lists to easily manage your ideas and work.
Stars: ✭ 30 (-6.25%)
Mutual labels:  todolist, todos
Molten Boilerplate
A boilerplate for the molten framework by Bogdanp https://github.com/Bogdanp/molten
Stars: ✭ 50 (+56.25%)
Mutual labels:  api-documentation, api-rest
To-Do App
A Simple To-Do App With Js
Stars: ✭ 21 (-34.37%)
Mutual labels:  todolist, todos
Todo.txt Cli
☑️ A simple and extensible shell script for managing your todo.txt file.
Stars: ✭ 4,725 (+14665.63%)
Mutual labels:  todolist, todos
foxx-builder
ArangoDB Foxx Services in a super intuitive way
Stars: ✭ 22 (-31.25%)
Mutual labels:  api-rest, api-service
chappe
🧑‍💻 Developer Docs builder. Write guides in Markdown and references in API Blueprint. Comes with a built-in search engine.
Stars: ✭ 132 (+312.5%)
Mutual labels:  api-documentation, api-rest
API
API documentation for the Forecast platform
Stars: ✭ 24 (-25%)
Mutual labels:  api-documentation, api-rest
Angular Swagger Ui
An angularJS implementation of Swagger UI
Stars: ✭ 131 (+309.38%)
Mutual labels:  api-documentation, api-rest
reedelk-runtime
Reedelk Runtime Platform Community Edition
Stars: ✭ 25 (-21.87%)
Mutual labels:  api-rest
InternalSteamWebAPI
Documenting the unofficial and internal Steam Web API
Stars: ✭ 126 (+293.75%)
Mutual labels:  api-documentation
yametrikapy
Python library for Yandex Metrika API
Stars: ✭ 20 (-37.5%)
Mutual labels:  api-service
Aliexpress-API
An Personal API For Fetching Product Details On Aliexpress.com
Stars: ✭ 60 (+87.5%)
Mutual labels:  api-service
SpringBoard
BaseCamp clone | Backend: Ruby on Rails | Frontend: React with Redux
Stars: ✭ 18 (-43.75%)
Mutual labels:  todolist
The-Code-Bending-Dictionary
🧚🏽‍♀️ learn tech vocab in a friendly way 🧚🏽‍♀️ CONTRIBUTIONS WELCOME! 🔥
Stars: ✭ 19 (-40.62%)
Mutual labels:  api-rest
coronavirus-dashboard-api-R-sdk
Coronavirus (COVID-19) in the UK - API Service SDK for R
Stars: ✭ 23 (-28.12%)
Mutual labels:  api-service
webtodotxt
Web-based GUI to manage a Todo.txt file
Stars: ✭ 30 (-6.25%)
Mutual labels:  todolist
cleanapi
Pretty tornado wrapper for making lightweight REST API services
Stars: ✭ 26 (-18.75%)
Mutual labels:  api-rest
nuada-cli
Nuada CLI was designed to improve your development experience by using ExpressJS and Mongoose tools.
Stars: ✭ 19 (-40.62%)
Mutual labels:  api-rest

柳叶清单

list

柳叶清单是自己独立开发设计的一个 Web 清单应用,目前网页版已经上线运行,地址如下:

http://gudong.name/list

开发初衷:柳叶清单:管理日程的网页清单程序

于此同时,为了方便其他开发者使用清单服务,现在开放了部分 API,以便大家开发自己的 Todo 应用或者 demo 小程序

如果使用中有任何问题,也可以在 issue 中进行反馈。

目录

目录生成 by github-markdown-toc

API model 关系说明

为了对清单 API 有更好的认识,这里先简单说一下具体的数据 model 关系,目前一共有 4 个 model,分别是 User、Project、Group、Todo.

  • User: 用户信息
  • Project:清单项目,一个用户(User)可以创建多个清单项目。
  • Group:分组,一个清单项目(Project)包含多个清单分组
  • Todo:事项,每个分组(Group)下有若干 Todo 组成

这个关系用图表示出来如下所示:

上面的示意有点抽象,这里用一个具体的例子进行展示如下:

下面是目前开放出来的所有数据操作相关的 API,包括用户登录、注册,以及事项(Todo)、分组(Group)、项目(Project)数据的操作,如下所示:


用户信息

登录

https://waishuo.leanapp.cn/api/v1.0/users/login

目前仅支持邮箱登录,暂不支持用户名登录

请求方式:POST

请求参数:

响应结果:

注册

https://waishuo.leanapp.cn/api/v1.0/users/register

请求方式:POST

请求参数:

响应结果:

获取用户信息

https://waishuo.leanapp.cn/api/v1.0/users/<userId>

请求方式:GET

说明:url 请求参数中最后需要指定 user id

请求参数:

响应结果:


Todo

创建 todo

https://waishuo.leanapp.cn/api/v1.0/todos

请求方式:POST

请求参数:

响应结果:

更新 Todo

https://waishuo.leanapp.cn/api/v1.0/todos/<todoId>

请求方式:PUT

说明:url 请求参数中最后需要指定 todo id

请求参数:

响应结果:

删除 Todo

https://waishuo.leanapp.cn/api/v1.0/todos/<todoId>

请求方式:DEL

请求参数:

说明:url 请求参数中最后需要指定 todo id

响应结果:

获取 Todo

https://waishuo.leanapp.cn/api/v1.0/todos/<todoId>

请求方式:GET

请求参数:

说明:url 请求参数中最后需要指定 todo id

响应结果:


分组 API

创建分组

https://waishuo.leanapp.cn/api/v1.0/groups

请求方式:POST

请求参数:

响应结果:

更新分组

https://waishuo.leanapp.cn/api/v1.0/groups/<groupId>

请求方式:PUT

说明:url 请求参数中最后需要指定 groupId

请求参数:

响应结果:

获取项目分组列表

https://waishuo.leanapp.cn/api/v1.0/groups/projects/<projectId>

请求方式:GET

请求参数:

说明:url 请求参数中最后需要指定 projectId

响应结果:

删除分组

https://waishuo.leanapp.cn/api/v1.0/groups/<groupId>

请求方式:DEL

请求参数:

说明:url 请求参数中最后需要指定 groupId

响应结果:


Project 相关 api

创建项目

https://waishuo.leanapp.cn/api/v1.0/project

请求方式:POST

请求参数:

响应结果:

编辑项目

https://waishuo.leanapp.cn/api/v1.0/project

请求方式:PUT

请求参数:

响应结果:

删除项目

https://waishuo.leanapp.cn/api/v1.0/projects/<projectId>

注意:删除时,会把项目下的分组以及 todo 全部删除

请求方式:DEL

说明:url 请求参数中最后需要指定 projectId

关于作者

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].