/
sample_payload
75 lines (74 loc) · 2.91 KB
/
sample_payload
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
# example params hash sinatra receives
{
"data" => {
"subscribers" => "" #CSV list
},
"payload" => { "action" => "opened",
"issue" => { "assignee" => nil,
"body" => "",
"closed_at" => nil,
"comments" => 0,
"created_at" => "2012-08-23T00:04:02Z",
"html_url" => "https://github.com/rauhryan/huboard/issues/79",
"id" => 6394371,
"labels" => [ ],
"milestone" => nil,
"number" => 79,
"pull_request" => { "diff_url" => nil,
"html_url" => nil,
"patch_url" => nil
},
"state" => "open",
"title" => "test issue 2",
"updated_at" => "2012-08-23T00:04:02Z",
"url" => "https://api.github.com/repos/rauhryan/huboard/issues/79",
"user" => { "avatar_url" => "https://secure.gravatar.com/avatar/29283ede6c447fdc62f0ceac42df33ea?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
"gravatar_id" => "29283ede6c447fdc62f0ceac42df33ea",
"id" => 68954,
"login" => "rauhryan",
"url" => "https://api.github.com/users/rauhryan"
}
},
"repository" => { "clone_url" => "https://github.com/rauhryan/huboard.git",
"created_at" => "2011-10-27T16:18:39Z",
"description" => "Kanban board for github issues",
"fork" => false,
"forks" => 34,
"forks_count" => 34,
"full_name" => "rauhryan/huboard",
"git_url" => "git://github.com/rauhryan/huboard.git",
"has_downloads" => true,
"has_issues" => true,
"has_wiki" => true,
"homepage" => "http://huboard.com",
"html_url" => "https://github.com/rauhryan/huboard",
"id" => 2659467,
"language" => "JavaScript",
"mirror_url" => nil,
"name" => "huboard",
"open_issues" => 30,
"open_issues_count" => 30,
"owner" => { "avatar_url" => "https://secure.gravatar.com/avatar/29283ede6c447fdc62f0ceac42df33ea?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
"gravatar_id" => "29283ede6c447fdc62f0ceac42df33ea",
"id" => 68954,
"login" => "rauhryan",
"url" => "https://api.github.com/users/rauhryan"
},
"private" => false,
"pushed_at" => "2012-08-22T23:29:42Z",
"size" => 156,
"ssh_url" => "git@github.com:rauhryan/huboard.git",
"svn_url" => "https://github.com/rauhryan/huboard",
"updated_at" => "2012-08-22T23:29:43Z",
"url" => "https://api.github.com/repos/rauhryan/huboard",
"watchers" => 165,
"watchers_count" => 165
},
"sender" => { "avatar_url" => "https://secure.gravatar.com/avatar/29283ede6c447fdc62f0ceac42df33ea?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
"gravatar_id" => "29283ede6c447fdc62f0ceac42df33ea",
"id" => 68954,
"login" => "rauhryan",
"url" => "https://api.github.com/users/rauhryan"
}
}
}