Skip to content

Commit 9f0c3ac

Browse files
authored
add system hook example data for merge request
1 parent f4ad678 commit 9f0c3ac

File tree

1 file changed

+114
-0
lines changed

1 file changed

+114
-0
lines changed
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{
2+
"object_kind": "merge_request",
3+
"user": {
4+
"name": "Administrator",
5+
"username": "root",
6+
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon"
7+
},
8+
"project": {
9+
"name": "Example",
10+
"description": "",
11+
"web_url": "http://example.com/jsmith/example",
12+
"avatar_url": null,
13+
"git_ssh_url": "[email protected]:jsmith/example.git",
14+
"git_http_url": "http://example.com/jsmith/example.git",
15+
"namespace": "Jsmith",
16+
"visibility_level": 0,
17+
"path_with_namespace": "jsmith/example",
18+
"default_branch": "master",
19+
"ci_config_path": "",
20+
"homepage": "http://example.com/jsmith/example",
21+
"url": "[email protected]:jsmith/example.git",
22+
"ssh_url": "[email protected]:jsmith/example.git",
23+
"http_url": "http://example.com/jsmith/example.git"
24+
},
25+
"object_attributes": {
26+
"id": 90,
27+
"target_branch": "master",
28+
"source_branch": "ms-viewport",
29+
"source_project_id": 14,
30+
"author_id": 51,
31+
"assignee_id": 6,
32+
"title": "MS-Viewport",
33+
"created_at": "2017-09-20T08:31:45.944Z",
34+
"updated_at": "2017-09-28T12:23:42.365Z",
35+
"milestone_id": null,
36+
"state": "opened",
37+
"merge_status": "unchecked",
38+
"target_project_id": 14,
39+
"iid": 1,
40+
"description": "",
41+
"updated_by_id": 1,
42+
"merge_error": null,
43+
"merge_params": {
44+
"force_remove_source_branch": "0"
45+
},
46+
"merge_when_pipeline_succeeds": false,
47+
"merge_user_id": null,
48+
"merge_commit_sha": null,
49+
"deleted_at": null,
50+
"in_progress_merge_commit_sha": null,
51+
"lock_version": 5,
52+
"time_estimate": 0,
53+
"last_edited_at": "2017-09-27T12:43:37.558Z",
54+
"last_edited_by_id": 1,
55+
"head_pipeline_id": 61,
56+
"ref_fetched": true,
57+
"merge_jid": null,
58+
"source": {
59+
"name": "Awesome Project",
60+
"description": "",
61+
"web_url": "http://example.com/awesome_space/awesome_project",
62+
"avatar_url": null,
63+
"git_ssh_url": "[email protected]:awesome_space/awesome_project.git",
64+
"git_http_url": "http://example.com/awesome_space/awesome_project.git",
65+
"namespace": "root",
66+
"visibility_level": 0,
67+
"path_with_namespace": "awesome_space/awesome_project",
68+
"default_branch": "master",
69+
"ci_config_path": "",
70+
"homepage": "http://example.com/awesome_space/awesome_project",
71+
"url": "http://example.com/awesome_space/awesome_project.git",
72+
"ssh_url": "[email protected]:awesome_space/awesome_project.git",
73+
"http_url": "http://example.com/awesome_space/awesome_project.git"
74+
},
75+
"target": {
76+
"name": "Awesome Project",
77+
"description": "Aut reprehenderit ut est.",
78+
"web_url": "http://example.com/awesome_space/awesome_project",
79+
"avatar_url": null,
80+
"git_ssh_url": "[email protected]:awesome_space/awesome_project.git",
81+
"git_http_url": "http://example.com/awesome_space/awesome_project.git",
82+
"namespace": "Awesome Space",
83+
"visibility_level": 0,
84+
"path_with_namespace": "awesome_space/awesome_project",
85+
"default_branch": "master",
86+
"ci_config_path": "",
87+
"homepage": "http://example.com/awesome_space/awesome_project",
88+
"url": "http://example.com/awesome_space/awesome_project.git",
89+
"ssh_url": "[email protected]:awesome_space/awesome_project.git",
90+
"http_url": "http://example.com/awesome_space/awesome_project.git"
91+
},
92+
"last_commit": {
93+
"id": "ba3e0d8ff79c80d5b0bbb4f3e2e343e0aaa662b7",
94+
"message": "fixed readme",
95+
"timestamp": "2017-09-26T16:12:57Z",
96+
"url": "http://example.com/awesome_space/awesome_project/commits/da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
97+
"author": {
98+
"name": "GitLab dev user",
99+
"email": "gitlabdev@dv6700.(none)"
100+
}
101+
},
102+
"work_in_progress": false,
103+
"total_time_spent": 0,
104+
"human_total_time_spent": null,
105+
"human_time_estimate": null
106+
},
107+
"labels": null,
108+
"repository": {
109+
"name": "git-gpg-test",
110+
"url": "[email protected]:awesome_space/awesome_project.git",
111+
"description": "",
112+
"homepage": "http://example.com/awesome_space/awesome_project"
113+
}
114+
}

0 commit comments

Comments
 (0)