diff options
author | Kirill Zaitsev <kirik910@gmail.com> | 2014-09-15 11:10:35 +0400 |
---|---|---|
committer | Kirill Zaitsev <kirik910@gmail.com> | 2014-10-02 12:58:02 +0400 |
commit | 1c9d2e39c1aef8e10ebff6e57c174c197a3a1c93 (patch) | |
tree | 15d71443e6cf169c2f50d1f4798634ca8cb318c0 /doc | |
parent | e2073f286e1eceb961795af5ea88a39b440e49ac (diff) | |
download | gitlab-ce-1c9d2e39c1aef8e10ebff6e57c174c197a3a1c93.tar.gz |
Hook attributes
Diffstat (limited to 'doc')
-rw-r--r-- | doc/web_hooks/web_hooks.md | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/doc/web_hooks/web_hooks.md b/doc/web_hooks/web_hooks.md index 16817d1933d..31791da8074 100644 --- a/doc/web_hooks/web_hooks.md +++ b/doc/web_hooks/web_hooks.md @@ -109,7 +109,31 @@ Triggered when a new merge request is created or an existing merge request was u "merge_status": "unchecked", "target_project_id": 14, "iid": 1, - "description": "" + "description": "", + "source": { + "name": "awesome_project", + "ssh_url": "ssh://git@example.com/awesome_space/awesome_project.git", + "http_url": "http://example.com/awesome_space/awesome_project.git", + "visibility_level": 20, + "namespace": "awesome_space" + }, + "target": { + "name": "awesome_project", + "ssh_url": "ssh://git@example.com/awesome_space/awesome_project.git", + "http_url": "http://example.com/awesome_space/awesome_project.git", + "visibility_level": 20, + "namespace": "awesome_space" + }, + "last_commit": { + "id": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7", + "message": "fixed readme", + "timestamp": "2012-01-03T23:36:29+02:00", + "url": "http://example.com/awesome_space/awesome_project/commits/da1560886d4f094c3e6c9ef40349f7d38b5d27d7", + "author": { + "name": "GitLab dev user", + "email": "gitlabdev@dv6700.(none)" + } + } } } ``` |