Award a new Emoji
POST
/v3/projects/{id}/merge_requests/{merge_request_id}/award_emojiThis feature was introduced in 8.9
请求参数
Path 参数
id
integer <int32>
必需
merge_request_id
integer <int32>
必需
Body 参数application/x-www-form-urlencoded
name
string
必需
The name of a award_emoji (without colons)
示例代码
返回响应
成功(201)
HTTP 状态码: 201
内容格式: JSONapplication/json
Award a new Emoji
数据结构
This feature was introduced in 8.9
id
string
可选
name
string
可选
user
object (UserBasic)
可选
Get a single user
name
string
可选
username
string
可选
id
string
可选
state
string
可选
avatar_url
string
可选
web_url
string
可选
created_at
string
可选
updated_at
string
可选
awardable_id
string
可选
awardable_type
string
可选
示例
{
"id": "string",
"name": "string",
"user": {
"name": "string",
"username": "string",
"id": "string",
"state": "string",
"avatar_url": "string",
"web_url": "string"
},
"created_at": "string",
"updated_at": "string",
"awardable_id": "string",
"awardable_type": "string"
}
最后修改时间: 1 个月前