Pull Request Event
Pull Request合并请求事件参数说明
请求头
| 参数名称 | 类型 | 参数说明 |
|---|---|---|
| User-Agent | string | |
| Content-Type | string | |
| X-GitCode-Event | string | 事件类型,Merge Request Hook代表合并请求事件 |
| X-GitCode-Delivery | string | 请求唯一id |
请求参数
| 参数名称 | 参数类型 | 参数说明 |
|---|---|---|
| produce_random_id | string | 随机生成的事件ID |
| event_type | string | 事件类型,此处为 "merge_request" |
| object_kind | string | 对象类型,此处为 "merge_request" |
| git_branch | string | Git分支名称 |
| git_commit_no | string | 当前提交SHA |
| git_target_branch_commit_no | string | 目标分支提交SHA |
| manual_build | boolean | |
| virtual_merge_build | boolean | |
| uuid | string | 事件唯一标识符 |
| labels | array | 标签列表 |
| issues | array | 关联的issue列表 |
| object_attributes.id | integer | 合并请求的ID |
| object_attributes.iid | integer | 合并请求在项目中的ID |
| object_attributes.title | string |