{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/nhandler/pigeonhole/pulls/1","id":236377391,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2Mzc3Mzkx","html_url":"https://github.com/nhandler/pigeonhole/pull/1","diff_url":"https://github.com/nhandler/pigeonhole/pull/1.diff","patch_url":"https://github.com/nhandler/pigeonhole/pull/1.patch","issue_url":"https://api.github.com/repos/nhandler/pigeonhole/issues/1","number":1,"state":"open","locked":false,"title":"Upgrade to work with Pagerduty API v2","user":{"login":"nhandler","id":102499,"node_id":"MDQ6VXNlcjEwMjQ5OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/102499?v=4","gravatar_id":"","url":"https://api.github.com/users/nhandler","html_url":"https://github.com/nhandler","followers_url":"https://api.github.com/users/nhandler/followers","following_url":"https://api.github.com/users/nhandler/following{/other_user}","gists_url":"https://api.github.com/users/nhandler/gists{/gist_id}","starred_url":"https://api.github.com/users/nhandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhandler/subscriptions","organizations_url":"https://api.github.com/users/nhandler/orgs","repos_url":"https://api.github.com/users/nhandler/repos","events_url":"https://api.github.com/users/nhandler/events{/privacy}","received_events_url":"https://api.github.com/users/nhandler/received_events","type":"User","site_admin":false},"body":"The code as-is fails now that Pagerduty has EOL'ed their v1 API. This change updates the REST requests to use the newer v2 API instead.","created_at":"2018-12-06T01:16:56Z","updated_at":"2018-12-06T01:16:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"nhandler","id":102499,"node_id":"MDQ6VXNlcjEwMjQ5OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/102499?v=4","gravatar_id":"","url":"https://api.github.com/users/nhandler","html_url":"https://github.com/nhandler","followers_url":"https://api.github.com/users/nhandler/followers","following_url":"https://api.github.com/users/nhandler/following{/other_user}","gists_url":"https://api.github.com/users/nhandler/gists{/gist_id}","starred_url":"https://api.github.com/users/nhandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhandler/subscriptions","organizations_url":"https://api.github.com/users/nhandler/orgs","repos_url":"https://api.github.com/users/nhandler/repos","events_url":"https://api.github.com/users/nhandler/events{/privacy}","received_events_url":"https://api.github.com/users/nhandler/received_events","type":"User","site_admin":false},"assignees":[{"login":"nhandler","id":102499,"node_id":"MDQ6VXNlcjEwMjQ5OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/102499?v=4","gravatar_id":"","url":"https://api.github.com/users/nhandler","html_url":"https://github.com/nhandler","followers_url":"https://api.github.com/users/nhandler/followers","following_url":"https://api.github.com/users/nhandler/following{/other_user}","gists_url":"https://api.github.com/users/nhandler/gists{/gist_id}","starred_url":"https://api.github.com/users/nhandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhandler/subscriptions","organizations_url":"https://api.github.com/users/nhandler/orgs","repos_url":"https://api.github.com/users/nhandler/repos","events_url":"https://api.github.com/users/nhandler/events{/privacy}","received_events_url":"https://api.github.com/users/nhandler/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nhandler/pigeonhole/pulls/1/commits","review_comments_url":"https://api.github.com/repos/nhandler/pigeonhole/pulls/1/comments","review_comment_url":"https://api.github.com/repos/nhandler/pigeonhole/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nhandler/pigeonhole/issues/1/comments","statuses_url":"https://api.github.com/repos/nhandler/pigeonhole/statuses/79bd62ec20bb5ab4a8707ce1f485839f88777769","head":{"label":"nhandler:pagerduty-api-v2","ref":"pagerduty-api-v2","sha":"79bd62ec20bb5ab4a8707ce1f485839f88777769","user":{"login":"nhandler","id":102499,"node_id":"MDQ6VXNlcjEwMjQ5OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/102499?v=4","gravatar_id":"","url":"https://api.github.com/users/nhandler","html_url":"https://github.com/nhandler","followers_url":"https://api.github.com/users/nhandler/followers","following_url":"https://api.github.com/users/nhandler/following{/other_user}","gists_url":"https://api.github.com/users/nhandler/gists{/gist_id}","starred_url":"https://api.github.com/users/nhandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhandler/subscriptions","organizations_url":"https://api.github.com/users/nhandler/orgs","repos_url":"https://api.github.com/users/nhandler/repos","events_url":"https://api.github.com/users/nhandler/events{/privacy}","received_events_url":"https://api.github.com/users/nhandler/received_events","type":"User","site_admin":false},"repo":{"id":160598160,"node_id":"MDEwOlJlcG9zaXRvcnkxNjA1OTgxNjA=","name":"pigeonhole","full_name":"nhandler/pigeonhole","private":false,"owner":{"login":"nhandler","id":102499,"node_id":"MDQ6VXNlcjEwMjQ5OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/102499?v=4","gravatar_id":"","url":"https://api.github.com/users/nhandler","html_url":"https://github.com/nhandler","followers_url":"https://api.github.com/users/nhandler/followers","following_url":"https://api.github.com/users/nhandler/following{/other_user}","gists_url":"https://api.github.com/users/nhandler/gists{/gist_id}","starred_url":"https://api.github.com/users/nhandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhandler/subscriptions","organizations_url":"https://api.github.com/users/nhandler/orgs","repos_url":"https://api.github.com/users/nhandler/repos","events_url":"https://api.github.com/users/nhandler/events{/privacy}","received_events_url":"https://api.github.com/users/nhandler/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nhandler/pigeonhole","description":"A PagerDuty visualisation and categoration tool","fork":true,"url":"https://api.github.com/repos/nhandler/pigeonhole","forks_url":"https://api.github.com/repos/nhandler/pigeonhole/forks","keys_url":"https://api.github.com/repos/nhandler/pigeonhole/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhandler/pigeonhole/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhandler/pigeonhole/teams","hooks_url":"https://api.github.com/repos/nhandler/pigeonhole/hooks","issue_events_url":"https://api.github.com/repos/nhandler/pigeonhole/issues/events{/number}","events_url":"https://api.github.com/repos/nhandler/pigeonhole/events","assignees_url":"https://api.github.com/repos/nhandler/pigeonhole/assignees{/user}","branches_url":"https://api.github.com/repos/nhandler/pigeonhole/branches{/branch}","tags_url":"https://api.github.com/repos/nhandler/pigeonhole/tags","blobs_url":"https://api.github.com/repos/nhandler/pigeonhole/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhandler/pigeonhole/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhandler/pigeonhole/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhandler/pigeonhole/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhandler/pigeonhole/statuses/{sha}","languages_url":"https://api.github.com/repos/nhandler/pigeonhole/languages","stargazers_url":"https://api.github.com/repos/nhandler/pigeonhole/stargazers","contributors_url":"https://api.github.com/repos/nhandler/pigeonhole/contributors","subscribers_url":"https://api.github.com/repos/nhandler/pigeonhole/subscribers","subscription_url":"https://api.github.com/repos/nhandler/pigeonhole/subscription","commits_url":"https://api.github.com/repos/nhandler/pigeonhole/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhandler/pigeonhole/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhandler/pigeonhole/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhandler/pigeonhole/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhandler/pigeonhole/contents/{+path}","compare_url":"https://api.github.com/repos/nhandler/pigeonhole/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhandler/pigeonhole/merges","archive_url":"https://api.github.com/repos/nhandler/pigeonhole/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhandler/pigeonhole/downloads","issues_url":"https://api.github.com/repos/nhandler/pigeonhole/issues{/number}","pulls_url":"https://api.github.com/repos/nhandler/pigeonhole/pulls{/number}","milestones_url":"https://api.github.com/repos/nhandler/pigeonhole/milestones{/number}","notifications_url":"https://api.github.com/repos/nhandler/pigeonhole/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhandler/pigeonhole/labels{/name}","releases_url":"https://api.github.com/repos/nhandler/pigeonhole/releases{/id}","deployments_url":"https://api.github.com/repos/nhandler/pigeonhole/deployments","created_at":"2018-12-06T00:56:39Z","updated_at":"2018-12-06T00:56:42Z","pushed_at":"2018-12-06T01:04:04Z","git_url":"git://github.com/nhandler/pigeonhole.git","ssh_url":"git@github.com:nhandler/pigeonhole.git","clone_url":"https://github.com/nhandler/pigeonhole.git","svn_url":"https://github.com/nhandler/pigeonhole","homepage":null,"size":2844,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"nhandler:master","ref":"master","sha":"4b6309bc9015bae70f12707e021789c7a82767ca","user":{"login":"nhandler","id":102499,"node_id":"MDQ6VXNlcjEwMjQ5OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/102499?v=4","gravatar_id":"","url":"https://api.github.com/users/nhandler","html_url":"https://github.com/nhandler","followers_url":"https://api.github.com/users/nhandler/followers","following_url":"https://api.github.com/users/nhandler/following{/other_user}","gists_url":"https://api.github.com/users/nhandler/gists{/gist_id}","starred_url":"https://api.github.com/users/nhandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhandler/subscriptions","organizations_url":"https://api.github.com/users/nhandler/orgs","repos_url":"https://api.github.com/users/nhandler/repos","events_url":"https://api.github.com/users/nhandler/events{/privacy}","received_events_url":"https://api.github.com/users/nhandler/received_events","type":"User","site_admin":false},"repo":{"id":160598160,"node_id":"MDEwOlJlcG9zaXRvcnkxNjA1OTgxNjA=","name":"pigeonhole","full_name":"nhandler/pigeonhole","private":false,"owner":{"login":"nhandler","id":102499,"node_id":"MDQ6VXNlcjEwMjQ5OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/102499?v=4","gravatar_id":"","url":"https://api.github.com/users/nhandler","html_url":"https://github.com/nhandler","followers_url":"https://api.github.com/users/nhandler/followers","following_url":"https://api.github.com/users/nhandler/following{/other_user}","gists_url":"https://api.github.com/users/nhandler/gists{/gist_id}","starred_url":"https://api.github.com/users/nhandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhandler/subscriptions","organizations_url":"https://api.github.com/users/nhandler/orgs","repos_url":"https://api.github.com/users/nhandler/repos","events_url":"https://api.github.com/users/nhandler/events{/privacy}","received_events_url":"https://api.github.com/users/nhandler/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nhandler/pigeonhole","description":"A PagerDuty visualisation and categoration tool","fork":true,"url":"https://api.github.com/repos/nhandler/pigeonhole","forks_url":"https://api.github.com/repos/nhandler/pigeonhole/forks","keys_url":"https://api.github.com/repos/nhandler/pigeonhole/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhandler/pigeonhole/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhandler/pigeonhole/teams","hooks_url":"https://api.github.com/repos/nhandler/pigeonhole/hooks","issue_events_url":"https://api.github.com/repos/nhandler/pigeonhole/issues/events{/number}","events_url":"https://api.github.com/repos/nhandler/pigeonhole/events","assignees_url":"https://api.github.com/repos/nhandler/pigeonhole/assignees{/user}","branches_url":"https://api.github.com/repos/nhandler/pigeonhole/branches{/branch}","tags_url":"https://api.github.com/repos/nhandler/pigeonhole/tags","blobs_url":"https://api.github.com/repos/nhandler/pigeonhole/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhandler/pigeonhole/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhandler/pigeonhole/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhandler/pigeonhole/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhandler/pigeonhole/statuses/{sha}","languages_url":"https://api.github.com/repos/nhandler/pigeonhole/languages","stargazers_url":"https://api.github.com/repos/nhandler/pigeonhole/stargazers","contributors_url":"https://api.github.com/repos/nhandler/pigeonhole/contributors","subscribers_url":"https://api.github.com/repos/nhandler/pigeonhole/subscribers","subscription_url":"https://api.github.com/repos/nhandler/pigeonhole/subscription","commits_url":"https://api.github.com/repos/nhandler/pigeonhole/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhandler/pigeonhole/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhandler/pigeonhole/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhandler/pigeonhole/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhandler/pigeonhole/contents/{+path}","compare_url":"https://api.github.com/repos/nhandler/pigeonhole/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhandler/pigeonhole/merges","archive_url":"https://api.github.com/repos/nhandler/pigeonhole/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhandler/pigeonhole/downloads","issues_url":"https://api.github.com/repos/nhandler/pigeonhole/issues{/number}","pulls_url":"https://api.github.com/repos/nhandler/pigeonhole/pulls{/number}","milestones_url":"https://api.github.com/repos/nhandler/pigeonhole/milestones{/number}","notifications_url":"https://api.github.com/repos/nhandler/pigeonhole/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhandler/pigeonhole/labels{/name}","releases_url":"https://api.github.com/repos/nhandler/pigeonhole/releases{/id}","deployments_url":"https://api.github.com/repos/nhandler/pigeonhole/deployments","created_at":"2018-12-06T00:56:39Z","updated_at":"2018-12-06T00:56:42Z","pushed_at":"2018-12-06T01:04:04Z","git_url":"git://github.com/nhandler/pigeonhole.git","ssh_url":"git@github.com:nhandler/pigeonhole.git","clone_url":"https://github.com/nhandler/pigeonhole.git","svn_url":"https://github.com/nhandler/pigeonhole","homepage":null,"size":2844,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nhandler/pigeonhole/pulls/1"},"html":{"href":"https://github.com/nhandler/pigeonhole/pull/1"},"issue":{"href":"https://api.github.com/repos/nhandler/pigeonhole/issues/1"},"comments":{"href":"https://api.github.com/repos/nhandler/pigeonhole/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/nhandler/pigeonhole/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/nhandler/pigeonhole/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nhandler/pigeonhole/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/nhandler/pigeonhole/statuses/79bd62ec20bb5ab4a8707ce1f485839f88777769"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":8,"deletions":12,"changed_files":1}}
{"actor":{"display_login":"nhandler"}}