Post a comment to a merge request
POST
/v3/projects/{id}/merge_request/{merge_request_id}/commentsDuplicate. DEPRECATED and WILL BE REMOVED in 9.0
请求参数
Path 参数
id
string
必需
The ID of a project
merge_request_id
integer <int32>
必需
Body 参数application/x-www-form-urlencoded
note
string
必需
The text of the comment
示例代码
返回响应
成功(201)
HTTP 状态码: 201
内容格式: JSONapplication/json
Post a comment to a merge request
数据结构
List issues that will be closed on merge
note
string
可选
author
object (UserBasic)
可选
Get a single user
name
string
可选
username
string
可选
id
string
可选
state
string
可选
avatar_url
string
可选
web_url
string
可选
示例
{
"note": "string",
"author": {
"name": "string",
"username": "string",
"id": "string",
"state": "string",
"avatar_url": "string",
"web_url": "string"
}
}
最后修改时间: 1 个月前