Create a todo on an issuable
POST
/v3/projects/{id}/issues/{issue_id}/todoCreate a todo on an issuable
请求参数
Path 参数
id
string
必需
The ID of a project
issue_id
integer <int32>
必需
The ID of an issuable
示例代码
返回响应
成功(201)
HTTP 状态码: 201
内容格式: JSONapplication/json
Create a todo on an issuable
数据结构
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"
}
最后修改时间: 1 个月前