{"action":"created","issue":{"url":"https://api.github.com/repos/GitEvents/gitevents-webhook/issues/1","labels_url":"https://api.github.com/repos/GitEvents/gitevents-webhook/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/GitEvents/gitevents-webhook/issues/1/comments","events_url":"https://api.github.com/repos/GitEvents/gitevents-webhook/issues/1/events","html_url":"https://github.com/GitEvents/gitevents-webhook/issues/1","id":54696480,"number":1,"title":"Required data to be returned","user":{"login":"PatrickHeneise","id":74390,"avatar_url":"https://avatars.githubusercontent.com/u/74390?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickHeneise","html_url":"https://github.com/PatrickHeneise","followers_url":"https://api.github.com/users/PatrickHeneise/followers","following_url":"https://api.github.com/users/PatrickHeneise/following{/other_user}","gists_url":"https://api.github.com/users/PatrickHeneise/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickHeneise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickHeneise/subscriptions","organizations_url":"https://api.github.com/users/PatrickHeneise/orgs","repos_url":"https://api.github.com/users/PatrickHeneise/repos","events_url":"https://api.github.com/users/PatrickHeneise/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickHeneise/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GitEvents/gitevents-webhook/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-18T13:28:36Z","updated_at":"2015-01-19T09:16:38Z","closed_at":null,"body":"I think for each label-action, the module should return the data from the web hook and a full list of the issues, so a twitter-integration could post the news, whereas a mail or meetup integration has the full list.\r\n\r\n    {\r\n      \"webhook\": {\r\n        \"label\": \"talk proposal\",\r\n        \"title\": \"Development environments using fig\",\r\n        \"level\": \"Beginner\",\r\n        \"language\": \"en\",\r\n        \"speaker\": {\r\n          \"twitter\": \"dias_jorge\",\r\n          \"name\": \"Jorge Dias\",\r\n          \"portrait\": \"\"\r\n        },\r\n        \"description\": \"Jorge Dias, Software Engineer turned Devops @ Xing, responsible for development and testing environments is going to talk about the research being done at Xing regarding the use of docker and will do a brief overview of working with fig and some custom tools to improve the workflow.\"\r\n      },\r\n      \"event\": {\r\n        \"date\": \"2015-01-21T19:00:00.000Z\",\r\n        \"venue\": {\r\n          \"name\": \"Mobile World Centre\",\r\n          \"address\": \"C/ Fontanella 2, 08002 Barcelona\",\r\n          \"private\": false\r\n        },\r\n        \"talks\": [\r\n          {\r\n            \"title\": \"Serious text editing in the browser\",\r\n            \"level\": \"Advanced\",\r\n            \"language\": \"es\",\r\n            \"speaker\": {\r\n              \"twitter\": \"marijnjh\",\r\n              \"name\": \"Marijn Haverbeke\",\r\n              \"portrait\": \"\"\r\n            },\r\n            \"description\": \"When a textarea doesn't cut it anymore, there are alternatives: full-featured text and code editors written in browser JavaScript. This talk is about CodeMirror, one such editor. It'll explore the intricacies of faking an editable control, the challenges of making it scale to hundreds of thousands of lines, and the integration of modern code editor features.\"\r\n          },\r\n          {\r\n            \"title\": \"Development environments using fig\",\r\n            \"level\": \"Beginner\",\r\n            \"language\": \"en\",\r\n            \"speaker\": {\r\n              \"twitter\": \"dias_jorge\",\r\n              \"name\": \"Jorge Dias\",\r\n              \"portrait\": \"\"\r\n            },\r\n            \"description\": \"Jorge Dias, Software Engineer turned Devops @ Xing, responsible for development and testing environments is going to talk about the research being done at Xing regarding the use of docker and will do a brief overview of working with fig and some custom tools to improve the workflow.\"\r\n          }\r\n        ]\r\n      }\r\n    }\r\n\r\nCould look like this for other labels, like \"jobs\":\r\n\r\n    {\r\n        \"webhook\": {\r\n            \"label\": \"jobs\",\r\n            \"title\": \"New cool Job\",\r\n            \"company\": \"lolipop\",\r\n            \"description\": \"We're looking for Ninjas, because Ninja just sounds cool.\"\r\n        },\r\n        \"jobs\": [\r\n            {\r\n                \"title\": \"New cool Job\",\r\n                \"company\": \"lolipop\",\r\n                \"description\": \"We're looking for Ninjas, because Ninja just sounds cool.\"\r\n            },\r\n            {\r\n                \"title\": \"New cool Job\",\r\n                \"company\": \"lolipop\",\r\n                \"description\": \"We're looking for Ninjas, because Ninja just sounds cool.\"\r\n            }\r\n        ]\r\n    }"},"comment":{"url":"https://api.github.com/repos/GitEvents/gitevents-webhook/issues/comments/70464330","html_url":"https://github.com/GitEvents/gitevents-webhook/issues/1#issuecomment-70464330","issue_url":"https://api.github.com/repos/GitEvents/gitevents-webhook/issues/1","id":70464330,"user":{"login":"Miz85","id":758584,"avatar_url":"https://avatars.githubusercontent.com/u/758584?v=3","gravatar_id":"","url":"https://api.github.com/users/Miz85","html_url":"https://github.com/Miz85","followers_url":"https://api.github.com/users/Miz85/followers","following_url":"https://api.github.com/users/Miz85/following{/other_user}","gists_url":"https://api.github.com/users/Miz85/gists{/gist_id}","starred_url":"https://api.github.com/users/Miz85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Miz85/subscriptions","organizations_url":"https://api.github.com/users/Miz85/orgs","repos_url":"https://api.github.com/users/Miz85/repos","events_url":"https://api.github.com/users/Miz85/events{/privacy}","received_events_url":"https://api.github.com/users/Miz85/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T09:16:38Z","updated_at":"2015-01-19T09:16:38Z","body":"Yes I totally agree with this. I am going to use this structure as a base to work on the meetup module\r\n"}}