Commit 66ca5cd8 authored by michael's avatar michael

60: Add sample webhook request bodies for Github and Gitlab

parent 70aecb6b
......@@ -39,7 +39,7 @@
"id": "c337788155114d32a585be201c7c9a96bcb2ba9a",
"tree_id": "c10d6a99bb2413c68db1afb2e56239ae7f673ffe",
"distinct": true,
"message": "Merge pull request #409 from meusselea/build_profile_doc_imporvemet\n\nTidy up hook_civicrm_buildForm Documentation and remove comments from…",
"message": "Merge pull request #409 from meusselea/build_profile_doc_improvement",
"timestamp": "2017-10-09T20:24:31+01:00",
"url": "https://github.com/civicrm/civicrm-dev-docs/commit/c337788155114d32a585be201c7c9a96bcb2ba9a",
"author": {
......@@ -67,7 +67,7 @@
"id": "c337788155114d32a585be201c7c9a96bcb2ba9a",
"tree_id": "c10d6a99bb2413c68db1afb2e56239ae7f673ffe",
"distinct": true,
"message": "Merge pull request #409 from meusselea/build_profile_doc_imporvemet\n\nTidy up hook_civicrm_buildForm Documentation and remove comments from…",
"message": "Merge pull request #409 from meusselea/build_profile_doc_improvement",
"timestamp": "2017-10-09T20:24:31+01:00",
"url": "https://github.com/civicrm/civicrm-dev-docs/commit/c337788155114d32a585be201c7c9a96bcb2ba9a",
"author": {
......
{
"object_kind": "push",
"before": "95790bf891e76fee5e1747ab589903a6a1f80f22",
"after": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
"ref": "refs/heads/master",
"checkout_sha": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
"user_id": 4,
"user_name": "John Smith",
"user_username": "jsmith",
"user_email": "john@example.com",
"user_avatar": "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80",
"project_id": 15,
"project":{
"name":"Diaspora",
"description":"",
"web_url":"http://example.com/mike/diaspora",
"avatar_url":null,
"git_ssh_url":"git@example.com:mike/diaspora.git",
"git_http_url":"http://example.com/mike/diaspora.git",
"namespace":"Mike",
"visibility_level":0,
"path_with_namespace":"mike/diaspora",
"default_branch":"master",
"homepage":"http://example.com/mike/diaspora",
"url":"git@example.com:mike/diaspora.git",
"ssh_url":"git@example.com:mike/diaspora.git",
"http_url":"http://example.com/mike/diaspora.git"
},
"repository":{
"name": "Diaspora",
"url": "git@example.com:mike/diaspora.git",
"description": "",
"homepage": "http://example.com/mike/diaspora",
"git_http_url":"http://example.com/mike/diaspora.git",
"git_ssh_url":"git@example.com:mike/diaspora.git",
"visibility_level":0
},
"commits": [
{
"id": "b6568db1bc1dcd7f8b4d5a946b0b91f9dacd7327",
"message": "Update Catalan translation to e38cb41.",
"timestamp": "2011-12-12T14:27:31+02:00",
"url": "http://example.com/mike/diaspora/commit/b6568db1bc1dcd7f8b4d5a946b0b91f9dacd7327",
"author": {
"name": "Jordi Mallach",
"email": "jordi@softcatala.org"
},
"added": ["CHANGELOG"],
"modified": ["app/controller/application.rb"],
"removed": []
},
{
"id": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
"message": "fixed readme",
"timestamp": "2012-01-03T23:36:29+02:00",
"url": "http://example.com/mike/diaspora/commit/da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
"author": {
"name": "GitLab dev user",
"email": "gitlabdev@dv6700.(none)"
},
"added": ["CHANGELOG"],
"modified": ["app/controller/application.rb"],
"removed": []
}
],
"total_commits_count": 4
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment