-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
github-webhook-example.json
128 lines (128 loc) · 5.44 KB
/
github-webhook-example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"after": "9bdc3a26ff933b32f3e558636b58aea86a69f051",
"before": "0000000000000000000000000000000000000000",
"commits": [
{
"added": [
"LICENSE"
],
"author": {
"email": "anonUser@example.com",
"name": "Anonymous User"
},
"committer": {
"email": "anonUser@example.com",
"name": "Anonymous User"
},
"distinct": true,
"id": "9bdc3a26ff933b32f3e558636b58aea86a69f051",
"message": "Added license",
"modified": [],
"removed": [],
"timestamp": "2014-08-28T16:55:36+02:00",
"url": "https://github.com/anonUser/anonRepo/commit/9bdc3a26ff933b32f3e558636b58aea86a69f051"
}
],
"compare": "https://github.com/anonUser/anonRepo/commit/9bdc3a26ff93",
"created": true,
"deleted": false,
"forced": true,
"head_commit": {
"added": [
"LICENSE"
],
"author": {
"email": "anonUser@example.com",
"name": "Anonymous User"
},
"committer": {
"email": "anonUser@example.com",
"name": "Anonymous User"
},
"distinct": true,
"id": "",
"message": "Added license",
"modified": [],
"removed": [],
"timestamp": "2014-08-28T16:55:36+02:00",
"url": "https://github.com/anonUser/anonRepo/commit/9bdc3a26ff933b32f3e558636b58aea86a69f051"
},
"pusher": {
"email": "anonUser@example.com",
"name": "anonUser"
},
"ref": "refs/heads/master",
"repository": {
"archive_url": "https://api.github.com/repos/anonUser/anonRepo/{archive_format}{/ref}",
"assignees_url": "https://api.github.com/repos/anonUser/anonRepo/assignees{/user}",
"blobs_url": "https://api.github.com/repos/anonUser/anonRepo/git/blobs{/sha}",
"branches_url": "https://api.github.com/repos/anonUser/anonRepo/branches{/branch}",
"clone_url": "https://github.com/anonUser/anonRepo.git",
"collaborators_url": "https://api.github.com/repos/anonUser/anonRepo/collaborators{/collaborator}",
"comments_url": "https://api.github.com/repos/anonUser/anonRepo/comments{/number}",
"commits_url": "https://api.github.com/repos/anonUser/anonRepo/commits{/sha}",
"compare_url": "https://api.github.com/repos/anonUser/anonRepo/compare/{base}...{head}",
"contents_url": "https://api.github.com/repos/anonUser/anonRepo/contents/{+path}",
"contributors_url": "https://api.github.com/repos/anonUser/anonRepo/contributors",
"created_at": 1.409063699e+09,
"default_branch": "master",
"description": "Git webhook implementation in Go.",
"downloads_url": "https://api.github.com/repos/anonUser/anonRepo/downloads",
"events_url": "https://api.github.com/repos/anonUser/anonRepo/events",
"fork": false,
"forks": 0,
"forks_count": 0,
"forks_url": "https://api.github.com/repos/anonUser/anonRepo/forks",
"full_name": "anonUser/anonRepo",
"git_commits_url": "https://api.github.com/repos/anonUser/anonRepo/git/commits{/sha}",
"git_refs_url": "https://api.github.com/repos/anonUser/anonRepo/git/refs{/sha}",
"git_tags_url": "https://api.github.com/repos/anonUser/anonRepo/git/tags{/sha}",
"git_url": "https://github.com/anonUser/anonRepo.git",
"has_downloads": true,
"has_issues": true,
"has_wiki": true,
"homepage": null,
"hooks_url": "https://api.github.com/repos/anonUser/anonRepo/hooks",
"html_url": "https://github.com/anonUser/anonRepo",
"id": 2.3354788e+07,
"issue_comment_url": "https://api.github.com/repos/anonUser/anonRepo/issues/comments/{number}",
"issue_events_url": "https://api.github.com/repos/anonUser/anonRepo/issues/events{/number}",
"issues_url": "https://api.github.com/repos/anonUser/anonRepo/issues{/number}",
"keys_url": "https://api.github.com/repos/anonUser/anonRepo/keys{/key_id}",
"labels_url": "https://api.github.com/repos/anonUser/anonRepo/labels{/name}",
"language": null,
"languages_url": "https://api.github.com/repos/anonUser/anonRepo/languages",
"master_branch": "master",
"merges_url": "https://api.github.com/repos/anonUser/anonRepo/merges",
"milestones_url": "https://api.github.com/repos/anonUser/anonRepo/milestones{/number}",
"mirror_url": null,
"name": "anonRepo",
"notifications_url": "https://api.github.com/repos/anonUser/anonRepo/notifications{?since,all,participating}",
"open_issues": 0,
"open_issues_count": 0,
"owner": {
"email": "anonUser@example.com",
"name": "anonUser"
},
"private": false,
"pulls_url": "https://api.github.com/repos/anonUser/anonRepo/pulls{/number}",
"pushed_at": 1.409238007e+09,
"releases_url": "https://api.github.com/repos/anonUser/anonRepo/releases{/id}",
"size": 0,
"ssh_url": "git@github.com:anonUser/anonRepo.git",
"stargazers": 0,
"stargazers_count": 0,
"stargazers_url": "https://api.github.com/repos/anonUser/anonRepo/stargazers",
"statuses_url": "https://api.github.com/repos/anonUser/anonRepo/statuses/{sha}",
"subscribers_url": "https://api.github.com/repos/anonUser/anonRepo/subscribers",
"subscription_url": "https://api.github.com/repos/anonUser/anonRepo/subscription",
"svn_url": "https://github.com/anonUser/anonRepo",
"tags_url": "https://api.github.com/repos/anonUser/anonRepo/tags",
"teams_url": "https://api.github.com/repos/anonUser/anonRepo/teams",
"trees_url": "https://api.github.com/repos/anonUser/anonRepo/git/trees{/sha}",
"updated_at": "2014-08-26T14:34:59Z",
"url": "https://github.com/anonUser/anonRepo",
"watchers": 0,
"watchers_count": 0
}
}