Get a todo list
GET
/v3/todosGet a todo list
请求参数
Query 参数
page
integer <int32>
可选
Current page number
per_page
integer <int32>
可选
Number of items per page
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Get a todo list
数据结构
Mark a todo as done
id
string
可选
project
object (BasicProjectDetails)
可选
Get all projects for admin user
id
string
可选
http_url_to_repo
string
可选
web_url
string
可选
name
string
可选
name_with_namespace
string
可选
path
string
可选
path_with_namespace
string
可选
author
object (UserBasic)
可选
Get a single user
name
string
可选
username
string
可选
id
string
可选
state
string
可选
avatar_url
string
可选
web_url
string
可选
action_name
string
可选
target_type
string
可选
target
string
可选
target_url
string
可选
body
string
可选
state
string
可选
created_at
string
可选
示例
{
"id": "string",
"project": {
"id": "string",
"http_url_to_repo": "string",
"web_url": "string",
"name": "string",
"name_with_namespace": "string",
"path": "string",
"path_with_namespace": "string"
},
"author": {
"name": "string",
"username": "string",
"id": "string",
"state": "string",
"avatar_url": "string",
"web_url": "string"
},
"action_name": "string",
"target_type": "string",
"target": "string",
"target_url": "string",
"body": "string",
"state": "string",
"created_at": "string"
}
最后修改时间: a month ago