zulip/zerver/fixtures/github/github_v2_pull_request_open...

392 lines
23 KiB
JSON

{
"event": "pull_request",
"payload": {
"action": "opened",
"pull_request": {
"body": "Omitted something I think?",
"merge_commit_sha": null,
"number": 7,
"assignee": null,
"mergeable": null,
"closed_at": null,
"additions": 1,
"id": 7903751,
"title": "Counting is hard.",
"comments": 0,
"merged_at": null,
"state": "open",
"_links": {
"self": {
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7"
},
"html": {
"href": "https://github.com/zbenjamin/zulip-test/pull/7"
},
"issue": {
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7"
},
"comments": {
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7/comments"
}
},
"commits": 1,
"diff_url": "https://github.com/zbenjamin/zulip-test/pull/7.diff",
"issue_url": "https://github.com/zbenjamin/zulip-test/issues/7",
"patch_url": "https://github.com/zbenjamin/zulip-test/pull/7.patch",
"deletions": 0,
"head": {
"repo": {
"issues_url": "https://api.github.com/repos/lfaraone/zulip-test/issues{/number}",
"has_wiki": true,
"forks_url": "https://api.github.com/repos/lfaraone/zulip-test/forks",
"mirror_url": null,
"subscription_url": "https://api.github.com/repos/lfaraone/zulip-test/subscription",
"merges_url": "https://api.github.com/repos/lfaraone/zulip-test/merges",
"collaborators_url": "https://api.github.com/repos/lfaraone/zulip-test/collaborators{/collaborator}",
"updated_at": "2013-08-27T21:59:16Z",
"private": false,
"pulls_url": "https://api.github.com/repos/lfaraone/zulip-test/pulls{/number}",
"issue_comment_url": "https://api.github.com/repos/lfaraone/zulip-test/issues/comments/{number}",
"full_name": "lfaraone/zulip-test",
"owner": {
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
"url": "https://api.github.com/users/lfaraone",
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
"html_url": "https://github.com/lfaraone",
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
"repos_url": "https://api.github.com/users/lfaraone/repos",
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
"login": "lfaraone",
"type": "User",
"id": 73410,
"followers_url": "https://api.github.com/users/lfaraone/followers"
},
"contents_url": "https://api.github.com/repos/lfaraone/zulip-test/contents/{+path}",
"id": 12418470,
"keys_url": "https://api.github.com/repos/lfaraone/zulip-test/keys{/key_id}",
"size": 45,
"tags_url": "https://api.github.com/repos/lfaraone/zulip-test/tags",
"issue_events_url": "https://api.github.com/repos/lfaraone/zulip-test/issues/events{/number}",
"contributors_url": "https://api.github.com/repos/lfaraone/zulip-test/contributors",
"downloads_url": "https://api.github.com/repos/lfaraone/zulip-test/downloads",
"has_downloads": true,
"assignees_url": "https://api.github.com/repos/lfaraone/zulip-test/assignees{/user}",
"statuses_url": "https://api.github.com/repos/lfaraone/zulip-test/statuses/{sha}",
"git_refs_url": "https://api.github.com/repos/lfaraone/zulip-test/git/refs{/sha}",
"clone_url": "https://github.com/lfaraone/zulip-test.git",
"watchers_count": 0,
"git_tags_url": "https://api.github.com/repos/lfaraone/zulip-test/git/tags{/sha}",
"milestones_url": "https://api.github.com/repos/lfaraone/zulip-test/milestones{/number}",
"languages_url": "https://api.github.com/repos/lfaraone/zulip-test/languages",
"homepage": null,
"branches_url": "https://api.github.com/repos/lfaraone/zulip-test/branches{/branch}",
"fork": true,
"commits_url": "https://api.github.com/repos/lfaraone/zulip-test/commits{/sha}",
"description": "Test repository",
"archive_url": "https://api.github.com/repos/lfaraone/zulip-test/{archive_format}{/ref}",
"labels_url": "https://api.github.com/repos/lfaraone/zulip-test/labels{/name}",
"events_url": "https://api.github.com/repos/lfaraone/zulip-test/events",
"comments_url": "https://api.github.com/repos/lfaraone/zulip-test/comments{/number}",
"html_url": "https://github.com/lfaraone/zulip-test",
"compare_url": "https://api.github.com/repos/lfaraone/zulip-test/compare/{base}...{head}",
"trees_url": "https://api.github.com/repos/lfaraone/zulip-test/git/trees{/sha}",
"git_url": "git://github.com/lfaraone/zulip-test.git",
"svn_url": "https://github.com/lfaraone/zulip-test",
"notifications_url": "https://api.github.com/repos/lfaraone/zulip-test/notifications{?since,all,participating}",
"has_issues": false,
"ssh_url": "git@github.com:lfaraone/zulip-test.git",
"blobs_url": "https://api.github.com/repos/lfaraone/zulip-test/git/blobs{/sha}",
"master_branch": "master",
"forks": 0,
"hooks_url": "https://api.github.com/repos/lfaraone/zulip-test/hooks",
"open_issues_count": 0,
"watchers": 0,
"name": "zulip-test",
"language": null,
"url": "https://api.github.com/repos/lfaraone/zulip-test",
"created_at": "2013-08-27T21:56:05Z",
"pushed_at": "2013-08-27T21:59:14Z",
"forks_count": 0,
"default_branch": "master",
"teams_url": "https://api.github.com/repos/lfaraone/zulip-test/teams",
"open_issues": 0,
"git_commits_url": "https://api.github.com/repos/lfaraone/zulip-test/git/commits{/sha}",
"subscribers_url": "https://api.github.com/repos/lfaraone/zulip-test/subscribers",
"stargazers_url": "https://api.github.com/repos/lfaraone/zulip-test/stargazers"
},
"sha": "b19cca106422241836f8c7d7c07ec44773e03dc1",
"ref": "patch-2",
"user": {
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
"url": "https://api.github.com/users/lfaraone",
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
"html_url": "https://github.com/lfaraone",
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
"repos_url": "https://api.github.com/users/lfaraone/repos",
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
"login": "lfaraone",
"type": "User",
"id": 73410,
"followers_url": "https://api.github.com/users/lfaraone/followers"
},
"label": "lfaraone:patch-2"
},
"commits_url": "https://github.com/zbenjamin/zulip-test/pull/7/commits",
"changed_files": 1,
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7/comments",
"html_url": "https://github.com/zbenjamin/zulip-test/pull/7",
"updated_at": "2013-08-27T21:59:16Z",
"base": {
"repo": {
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
"has_wiki": true,
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
"mirror_url": null,
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
"updated_at": "2013-08-27T21:58:00Z",
"private": false,
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
"full_name": "zbenjamin/zulip-test",
"owner": {
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
"url": "https://api.github.com/users/zbenjamin",
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
"html_url": "https://github.com/zbenjamin",
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
"avatar_url": "https://2.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
"repos_url": "https://api.github.com/users/zbenjamin/repos",
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
"login": "zbenjamin",
"type": "User",
"id": 58684,
"followers_url": "https://api.github.com/users/zbenjamin/followers"
},
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
"id": 6893087,
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
"size": 66,
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
"has_downloads": true,
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
"watchers_count": 0,
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
"homepage": null,
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
"fork": false,
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
"description": "Test repository",
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
"html_url": "https://github.com/zbenjamin/zulip-test",
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
"git_url": "git://github.com/zbenjamin/zulip-test.git",
"svn_url": "https://github.com/zbenjamin/zulip-test",
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
"has_issues": true,
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
"master_branch": "master",
"forks": 1,
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
"open_issues_count": 1,
"watchers": 0,
"name": "zulip-test",
"language": null,
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
"created_at": "2012-11-27T23:46:58Z",
"pushed_at": "2013-08-27T21:57:59Z",
"forks_count": 1,
"default_branch": "master",
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
"open_issues": 1,
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
},
"sha": "12239a62c29db843225ec58ab68cf142bf608007",
"ref": "master",
"user": {
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
"url": "https://api.github.com/users/zbenjamin",
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
"html_url": "https://github.com/zbenjamin",
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
"avatar_url": "https://2.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
"repos_url": "https://api.github.com/users/zbenjamin/repos",
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
"login": "zbenjamin",
"type": "User",
"id": 58684,
"followers_url": "https://api.github.com/users/zbenjamin/followers"
},
"label": "zbenjamin:master"
},
"user": {
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
"url": "https://api.github.com/users/lfaraone",
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
"html_url": "https://github.com/lfaraone",
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
"repos_url": "https://api.github.com/users/lfaraone/repos",
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
"login": "lfaraone",
"type": "User",
"id": 73410,
"followers_url": "https://api.github.com/users/lfaraone/followers"
},
"milestone": null,
"merged_by": null,
"url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7",
"mergeable_state": "unknown",
"created_at": "2013-08-27T21:59:16Z",
"review_comments_url": "https://github.com/zbenjamin/zulip-test/pull/7/comments",
"review_comments": 0,
"review_comment_url": "/repos/zbenjamin/zulip-test/pulls/comments/{number}",
"merged": false
},
"sender": {
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
"url": "https://api.github.com/users/lfaraone",
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
"html_url": "https://github.com/lfaraone",
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
"repos_url": "https://api.github.com/users/lfaraone/repos",
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
"login": "lfaraone",
"type": "User",
"id": 73410,
"followers_url": "https://api.github.com/users/lfaraone/followers"
},
"repository": {
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
"has_wiki": true,
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
"mirror_url": null,
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
"updated_at": "2013-08-27T21:58:00Z",
"private": false,
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
"full_name": "zbenjamin/zulip-test",
"owner": {
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
"url": "https://api.github.com/users/zbenjamin",
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
"html_url": "https://github.com/zbenjamin",
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
"repos_url": "https://api.github.com/users/zbenjamin/repos",
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
"login": "zbenjamin",
"type": "User",
"id": 58684,
"followers_url": "https://api.github.com/users/zbenjamin/followers"
},
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
"id": 6893087,
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
"size": 66,
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
"has_downloads": true,
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
"watchers_count": 0,
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
"homepage": null,
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
"fork": false,
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
"description": "Test repository",
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
"html_url": "https://github.com/zbenjamin/zulip-test",
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
"git_url": "git://github.com/zbenjamin/zulip-test.git",
"svn_url": "https://github.com/zbenjamin/zulip-test",
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
"has_issues": true,
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
"master_branch": "master",
"forks": 1,
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
"open_issues_count": 1,
"watchers": 0,
"name": "zulip-test",
"language": null,
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
"created_at": "2012-11-27T23:46:58Z",
"pushed_at": "2013-08-27T21:57:59Z",
"forks_count": 1,
"default_branch": "master",
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
"open_issues": 1,
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
},
"number": 7
}
}