{"action":"created","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9338","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9338/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9338/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9338/events","html_url":"https://github.com/gitlabhq/gitlabhq/issues/9338","id":81704651,"number":9338,"title":"Push Event should contain branch info","user":{"login":"qiluo","id":1715517,"avatar_url":"https://avatars.githubusercontent.com/u/1715517?v=3","gravatar_id":"","url":"https://api.github.com/users/qiluo","html_url":"https://github.com/qiluo","followers_url":"https://api.github.com/users/qiluo/followers","following_url":"https://api.github.com/users/qiluo/following{/other_user}","gists_url":"https://api.github.com/users/qiluo/gists{/gist_id}","starred_url":"https://api.github.com/users/qiluo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiluo/subscriptions","organizations_url":"https://api.github.com/users/qiluo/orgs","repos_url":"https://api.github.com/users/qiluo/repos","events_url":"https://api.github.com/users/qiluo/events{/privacy}","received_events_url":"https://api.github.com/users/qiluo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-28T01:36:03Z","updated_at":"2015-05-28T01:48:17Z","closed_at":null,"body":"I want to identify which branch received commit in `push event` web hook, otherwise I would have to write and deploy custom post-receive-hook on the server. The latter is not quite easy and tedious."},"comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/106139405","html_url":"https://github.com/gitlabhq/gitlabhq/issues/9338#issuecomment-106139405","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9338","id":106139405,"user":{"login":"stanhu","id":963826,"avatar_url":"https://avatars.githubusercontent.com/u/963826?v=3","gravatar_id":"","url":"https://api.github.com/users/stanhu","html_url":"https://github.com/stanhu","followers_url":"https://api.github.com/users/stanhu/followers","following_url":"https://api.github.com/users/stanhu/following{/other_user}","gists_url":"https://api.github.com/users/stanhu/gists{/gist_id}","starred_url":"https://api.github.com/users/stanhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanhu/subscriptions","organizations_url":"https://api.github.com/users/stanhu/orgs","repos_url":"https://api.github.com/users/stanhu/repos","events_url":"https://api.github.com/users/stanhu/events{/privacy}","received_events_url":"https://api.github.com/users/stanhu/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T01:48:17Z","updated_at":"2015-05-28T01:48:17Z","body":"Isn't this information in the `ref` field?\r\n\r\nhttps://github.com/gitlabhq/gitlabhq/blob/master/doc/web_hooks/web_hooks.md#push-events"}}