zulip/zerver/webhooks/github_webhook/fixtures/synchronized_pull_request.json

420 lines
25 KiB
JSON

{
"action": "synchronize",
"after": "254e93f580ae7f8483b2a2aa3f9c393f826a98f5",
"before": "8695425244b08195a835228f67c679c394260faa",
"number": 1,
"pull_request": {
"_links": {
"comments": {
"href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/5/comments"
},
"commits": {
"href": "https://api.github.com/repos/baxterthehackerpublic-repo/pull/1/commits"
},
"html": {
"href": "https://github.com/baxterthehacker/public-repo/pull/1"
},
"issue": {
"href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/5"
},
"review_comment": {
"href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}"
},
"review_comments": {
"href": "https://api.github.com/repos/baxterthehackerpublic-repo/pull/1/comments"
},
"self": {
"href": "https://api.github.com/repos/baxterthehackerpublic-repo/pull/1"
},
"statuses": {
"href": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/254e93f580ae7f8483b2a2aa3f9c393f826a98f5"
}
},
"additions": 113,
"assignee": null,
"assignees": [],
"base": {
"label": "baxterthehacker:master",
"ref": "master",
"repo": {
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
"created_at": "2016-03-11T16:16:19Z",
"default_branch": "master",
"deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments",
"description": "Zulip server - powerful open source group chat",
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
"fork": true,
"forks": 0,
"forks_count": 0,
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
"full_name": "baxterthehacker/public-repo",
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_url": "git://github.com/baxterthehacker/public-repo.git",
"has_downloads": true,
"has_issues": false,
"has_pages": false,
"has_wiki": true,
"homepage": "",
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
"html_url": "https://github.com/baxterthehacker/public-repo",
"id": 53679793,
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
"language": "Python",
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
"mirror_url": null,
"name": "public-repo",
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"open_issues": 3,
"open_issues_count": 3,
"owner": {
"avatar_url": "https://avatars.githubusercontent.com/u/5993758?v=3",
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/baxterthehacker",
"id": 5993758,
"login": "baxterthehacker",
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/baxterthehacker"
},
"private": false,
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
"pushed_at": "2017-02-02T19:18:40Z",
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
"size": 140189,
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
"stargazers_count": 0,
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
"svn_url": "https://github.com/baxterthehacker/public-repo",
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
"updated_at": "2016-03-11T16:16:26Z",
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
"watchers": 0,
"watchers_count": 0
},
"sha": "e8b08803202979248c117a3e6213c0735e93542c",
"user": {
"avatar_url": "https://avatars.githubusercontent.com/u/5993758?v=3",
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/baxterthehacker",
"id": 5993758,
"login": "baxterthehacker",
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/baxterthehacker"
}
},
"body": "",
"changed_files": 2,
"closed_at": null,
"comments": 0,
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/5/comments",
"commits": 1,
"commits_url": "https://api.github.com/repos/baxterthehackerpublic-repo/pull/1/commits",
"created_at": "2017-02-02T19:11:19Z",
"deletions": 1,
"diff_url": "https://github.com/baxterthehacker/public-repo/pull/1.diff",
"head": {
"label": "baxterthehacker:changes",
"ref": "changes",
"repo": {
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
"created_at": "2016-03-11T16:16:19Z",
"default_branch": "master",
"deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments",
"description": "Zulip server - powerful open source group chat",
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
"fork": true,
"forks": 0,
"forks_count": 0,
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
"full_name": "baxterthehacker/public-repo",
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_url": "git://github.com/baxterthehacker/public-repo.git",
"has_downloads": true,
"has_issues": false,
"has_pages": false,
"has_wiki": true,
"homepage": "",
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
"html_url": "https://github.com/baxterthehacker/public-repo",
"id": 53679793,
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
"language": "Python",
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
"mirror_url": null,
"name": "public-repo",
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"open_issues": 3,
"open_issues_count": 3,
"owner": {
"avatar_url": "https://avatars.githubusercontent.com/u/5993758?v=3",
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/baxterthehacker",
"id": 5993758,
"login": "baxterthehacker",
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/baxterthehacker"
},
"private": false,
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
"pushed_at": "2017-02-02T19:18:40Z",
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
"size": 140189,
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
"stargazers_count": 0,
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
"svn_url": "https://github.com/baxterthehacker/public-repo",
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
"updated_at": "2016-03-11T16:16:26Z",
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
"watchers": 0,
"watchers_count": 0
},
"sha": "254e93f580ae7f8483b2a2aa3f9c393f826a98f5",
"user": {
"avatar_url": "https://avatars.githubusercontent.com/u/5993758?v=3",
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/baxterthehacker",
"id": 5993758,
"login": "baxterthehacker",
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/baxterthehacker"
}
},
"html_url": "https://github.com/baxterthehacker/public-repo/pull/1",
"id": 104403437,
"issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/5",
"locked": false,
"maintainer_can_modify": false,
"merge_commit_sha": "0ab2243bf16cac3ba2d9c66aa5b9487e7c51017d",
"mergeable": null,
"mergeable_state": "unknown",
"merged": false,
"merged_at": null,
"merged_by": null,
"milestone": null,
"number": 1,
"patch_url": "https://github.com/baxterthehacker/public-repo/pull/1.patch",
"review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}",
"review_comments": 0,
"review_comments_url": "https://api.github.com/repos/baxterthehackerpublic-repo/pull/1/comments",
"state": "open",
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/254e93f580ae7f8483b2a2aa3f9c393f826a98f5",
"title": "Update the README with new information",
"updated_at": "2017-02-02T19:18:41Z",
"url": "https://api.github.com/repos/baxterthehackerpublic-repo/pull/1",
"user": {
"avatar_url": "https://avatars.githubusercontent.com/u/5993758?v=3",
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/baxterthehacker",
"id": 5993758,
"login": "baxterthehacker",
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/baxterthehacker"
}
},
"repository": {
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
"created_at": "2016-03-11T16:16:19Z",
"default_branch": "master",
"deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments",
"description": "Zulip server - powerful open source group chat",
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
"fork": true,
"forks": 0,
"forks_count": 0,
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
"full_name": "baxterthehacker/public-repo",
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_url": "git://github.com/baxterthehacker/public-repo.git",
"has_downloads": true,
"has_issues": false,
"has_pages": false,
"has_wiki": true,
"homepage": "",
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
"html_url": "https://github.com/baxterthehacker/public-repo",
"id": 53679793,
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
"language": "Python",
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
"mirror_url": null,
"name": "public-repo",
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"open_issues": 3,
"open_issues_count": 3,
"owner": {
"avatar_url": "https://avatars.githubusercontent.com/u/5993758?v=3",
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/baxterthehacker",
"id": 5993758,
"login": "baxterthehacker",
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/baxterthehacker"
},
"private": false,
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
"pushed_at": "2017-02-02T19:18:40Z",
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
"size": 140189,
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
"stargazers_count": 0,
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
"svn_url": "https://github.com/baxterthehacker/public-repo",
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
"updated_at": "2016-03-11T16:16:26Z",
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
"watchers": 0,
"watchers_count": 0
},
"sender": {
"avatar_url": "https://avatars.githubusercontent.com/u/5993758?v=3",
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/baxterthehacker",
"id": 5993758,
"login": "baxterthehacker",
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/baxterthehacker"
}
}