{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/ByteInternet/PingdomLib/pulls/2","id":28093638,"html_url":"https://github.com/ByteInternet/PingdomLib/pull/2","diff_url":"https://github.com/ByteInternet/PingdomLib/pull/2.diff","patch_url":"https://github.com/ByteInternet/PingdomLib/pull/2.patch","issue_url":"https://api.github.com/repos/ByteInternet/PingdomLib/issues/2","number":2,"state":"closed","locked":false,"title":"Add alert policy and autoresolve","user":{"login":"vdloo","id":1437341,"avatar_url":"https://avatars.githubusercontent.com/u/1437341?v=3","gravatar_id":"","url":"https://api.github.com/users/vdloo","html_url":"https://github.com/vdloo","followers_url":"https://api.github.com/users/vdloo/followers","following_url":"https://api.github.com/users/vdloo/following{/other_user}","gists_url":"https://api.github.com/users/vdloo/gists{/gist_id}","starred_url":"https://api.github.com/users/vdloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdloo/subscriptions","organizations_url":"https://api.github.com/users/vdloo/orgs","repos_url":"https://api.github.com/users/vdloo/repos","events_url":"https://api.github.com/users/vdloo/events{/privacy}","received_events_url":"https://api.github.com/users/vdloo/received_events","type":"User","site_admin":false},"body":"To set alert_policy using the alert policy id. Can't set the policy by\r\nname so this will have to do. To find the id, open the policy in the\r\npingdom admin panel and look for /alertgroups/edit/xxxxx in the URL.\r\n\r\nAlso adds autoresolve","created_at":"2015-01-27T09:20:16Z","updated_at":"2015-01-27T09:52:57Z","closed_at":"2015-01-27T09:52:57Z","merged_at":"2015-01-27T09:52:57Z","merge_commit_sha":"ab81c63e37d449bb8a42ca3f250bfce10fe58280","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ByteInternet/PingdomLib/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ByteInternet/PingdomLib/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ByteInternet/PingdomLib/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ByteInternet/PingdomLib/issues/2/comments","statuses_url":"https://api.github.com/repos/ByteInternet/PingdomLib/statuses/762cfb27592eb836d04dead92199f06aa7a0a109","head":{"label":"ByteInternet:add-alert-policy-and-autoresolve","ref":"add-alert-policy-and-autoresolve","sha":"762cfb27592eb836d04dead92199f06aa7a0a109","user":{"login":"ByteInternet","id":1357758,"avatar_url":"https://avatars.githubusercontent.com/u/1357758?v=3","gravatar_id":"","url":"https://api.github.com/users/ByteInternet","html_url":"https://github.com/ByteInternet","followers_url":"https://api.github.com/users/ByteInternet/followers","following_url":"https://api.github.com/users/ByteInternet/following{/other_user}","gists_url":"https://api.github.com/users/ByteInternet/gists{/gist_id}","starred_url":"https://api.github.com/users/ByteInternet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ByteInternet/subscriptions","organizations_url":"https://api.github.com/users/ByteInternet/orgs","repos_url":"https://api.github.com/users/ByteInternet/repos","events_url":"https://api.github.com/users/ByteInternet/events{/privacy}","received_events_url":"https://api.github.com/users/ByteInternet/received_events","type":"Organization","site_admin":false},"repo":{"id":22257595,"name":"PingdomLib","full_name":"ByteInternet/PingdomLib","owner":{"login":"ByteInternet","id":1357758,"avatar_url":"https://avatars.githubusercontent.com/u/1357758?v=3","gravatar_id":"","url":"https://api.github.com/users/ByteInternet","html_url":"https://github.com/ByteInternet","followers_url":"https://api.github.com/users/ByteInternet/followers","following_url":"https://api.github.com/users/ByteInternet/following{/other_user}","gists_url":"https://api.github.com/users/ByteInternet/gists{/gist_id}","starred_url":"https://api.github.com/users/ByteInternet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ByteInternet/subscriptions","organizations_url":"https://api.github.com/users/ByteInternet/orgs","repos_url":"https://api.github.com/users/ByteInternet/repos","events_url":"https://api.github.com/users/ByteInternet/events{/privacy}","received_events_url":"https://api.github.com/users/ByteInternet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ByteInternet/PingdomLib","description":"A python library to consume the pingdom API","fork":true,"url":"https://api.github.com/repos/ByteInternet/PingdomLib","forks_url":"https://api.github.com/repos/ByteInternet/PingdomLib/forks","keys_url":"https://api.github.com/repos/ByteInternet/PingdomLib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ByteInternet/PingdomLib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ByteInternet/PingdomLib/teams","hooks_url":"https://api.github.com/repos/ByteInternet/PingdomLib/hooks","issue_events_url":"https://api.github.com/repos/ByteInternet/PingdomLib/issues/events{/number}","events_url":"https://api.github.com/repos/ByteInternet/PingdomLib/events","assignees_url":"https://api.github.com/repos/ByteInternet/PingdomLib/assignees{/user}","branches_url":"https://api.github.com/repos/ByteInternet/PingdomLib/branches{/branch}","tags_url":"https://api.github.com/repos/ByteInternet/PingdomLib/tags","blobs_url":"https://api.github.com/repos/ByteInternet/PingdomLib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ByteInternet/PingdomLib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ByteInternet/PingdomLib/git/refs{/sha}","trees_url":"https://api.github.com/repos/ByteInternet/PingdomLib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ByteInternet/PingdomLib/statuses/{sha}","languages_url":"https://api.github.com/repos/ByteInternet/PingdomLib/languages","stargazers_url":"https://api.github.com/repos/ByteInternet/PingdomLib/stargazers","contributors_url":"https://api.github.com/repos/ByteInternet/PingdomLib/contributors","subscribers_url":"https://api.github.com/repos/ByteInternet/PingdomLib/subscribers","subscription_url":"https://api.github.com/repos/ByteInternet/PingdomLib/subscription","commits_url":"https://api.github.com/repos/ByteInternet/PingdomLib/commits{/sha}","git_commits_url":"https://api.github.com/repos/ByteInternet/PingdomLib/git/commits{/sha}","comments_url":"https://api.github.com/repos/ByteInternet/PingdomLib/comments{/number}","issue_comment_url":"https://api.github.com/repos/ByteInternet/PingdomLib/issues/comments/{number}","contents_url":"https://api.github.com/repos/ByteInternet/PingdomLib/contents/{+path}","compare_url":"https://api.github.com/repos/ByteInternet/PingdomLib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ByteInternet/PingdomLib/merges","archive_url":"https://api.github.com/repos/ByteInternet/PingdomLib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ByteInternet/PingdomLib/downloads","issues_url":"https://api.github.com/repos/ByteInternet/PingdomLib/issues{/number}","pulls_url":"https://api.github.com/repos/ByteInternet/PingdomLib/pulls{/number}","milestones_url":"https://api.github.com/repos/ByteInternet/PingdomLib/milestones{/number}","notifications_url":"https://api.github.com/repos/ByteInternet/PingdomLib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ByteInternet/PingdomLib/labels{/name}","releases_url":"https://api.github.com/repos/ByteInternet/PingdomLib/releases{/id}","created_at":"2014-07-25T13:22:41Z","updated_at":"2015-01-21T20:32:45Z","pushed_at":"2015-01-27T09:52:57Z","git_url":"git://github.com/ByteInternet/PingdomLib.git","ssh_url":"git@github.com:ByteInternet/PingdomLib.git","clone_url":"https://github.com/ByteInternet/PingdomLib.git","svn_url":"https://github.com/ByteInternet/PingdomLib","homepage":null,"size":245,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ByteInternet:master","ref":"master","sha":"d11e7c35ab955729f59ea96a99058660be44b450","user":{"login":"ByteInternet","id":1357758,"avatar_url":"https://avatars.githubusercontent.com/u/1357758?v=3","gravatar_id":"","url":"https://api.github.com/users/ByteInternet","html_url":"https://github.com/ByteInternet","followers_url":"https://api.github.com/users/ByteInternet/followers","following_url":"https://api.github.com/users/ByteInternet/following{/other_user}","gists_url":"https://api.github.com/users/ByteInternet/gists{/gist_id}","starred_url":"https://api.github.com/users/ByteInternet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ByteInternet/subscriptions","organizations_url":"https://api.github.com/users/ByteInternet/orgs","repos_url":"https://api.github.com/users/ByteInternet/repos","events_url":"https://api.github.com/users/ByteInternet/events{/privacy}","received_events_url":"https://api.github.com/users/ByteInternet/received_events","type":"Organization","site_admin":false},"repo":{"id":22257595,"name":"PingdomLib","full_name":"ByteInternet/PingdomLib","owner":{"login":"ByteInternet","id":1357758,"avatar_url":"https://avatars.githubusercontent.com/u/1357758?v=3","gravatar_id":"","url":"https://api.github.com/users/ByteInternet","html_url":"https://github.com/ByteInternet","followers_url":"https://api.github.com/users/ByteInternet/followers","following_url":"https://api.github.com/users/ByteInternet/following{/other_user}","gists_url":"https://api.github.com/users/ByteInternet/gists{/gist_id}","starred_url":"https://api.github.com/users/ByteInternet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ByteInternet/subscriptions","organizations_url":"https://api.github.com/users/ByteInternet/orgs","repos_url":"https://api.github.com/users/ByteInternet/repos","events_url":"https://api.github.com/users/ByteInternet/events{/privacy}","received_events_url":"https://api.github.com/users/ByteInternet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ByteInternet/PingdomLib","description":"A python library to consume the pingdom API","fork":true,"url":"https://api.github.com/repos/ByteInternet/PingdomLib","forks_url":"https://api.github.com/repos/ByteInternet/PingdomLib/forks","keys_url":"https://api.github.com/repos/ByteInternet/PingdomLib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ByteInternet/PingdomLib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ByteInternet/PingdomLib/teams","hooks_url":"https://api.github.com/repos/ByteInternet/PingdomLib/hooks","issue_events_url":"https://api.github.com/repos/ByteInternet/PingdomLib/issues/events{/number}","events_url":"https://api.github.com/repos/ByteInternet/PingdomLib/events","assignees_url":"https://api.github.com/repos/ByteInternet/PingdomLib/assignees{/user}","branches_url":"https://api.github.com/repos/ByteInternet/PingdomLib/branches{/branch}","tags_url":"https://api.github.com/repos/ByteInternet/PingdomLib/tags","blobs_url":"https://api.github.com/repos/ByteInternet/PingdomLib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ByteInternet/PingdomLib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ByteInternet/PingdomLib/git/refs{/sha}","trees_url":"https://api.github.com/repos/ByteInternet/PingdomLib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ByteInternet/PingdomLib/statuses/{sha}","languages_url":"https://api.github.com/repos/ByteInternet/PingdomLib/languages","stargazers_url":"https://api.github.com/repos/ByteInternet/PingdomLib/stargazers","contributors_url":"https://api.github.com/repos/ByteInternet/PingdomLib/contributors","subscribers_url":"https://api.github.com/repos/ByteInternet/PingdomLib/subscribers","subscription_url":"https://api.github.com/repos/ByteInternet/PingdomLib/subscription","commits_url":"https://api.github.com/repos/ByteInternet/PingdomLib/commits{/sha}","git_commits_url":"https://api.github.com/repos/ByteInternet/PingdomLib/git/commits{/sha}","comments_url":"https://api.github.com/repos/ByteInternet/PingdomLib/comments{/number}","issue_comment_url":"https://api.github.com/repos/ByteInternet/PingdomLib/issues/comments/{number}","contents_url":"https://api.github.com/repos/ByteInternet/PingdomLib/contents/{+path}","compare_url":"https://api.github.com/repos/ByteInternet/PingdomLib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ByteInternet/PingdomLib/merges","archive_url":"https://api.github.com/repos/ByteInternet/PingdomLib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ByteInternet/PingdomLib/downloads","issues_url":"https://api.github.com/repos/ByteInternet/PingdomLib/issues{/number}","pulls_url":"https://api.github.com/repos/ByteInternet/PingdomLib/pulls{/number}","milestones_url":"https://api.github.com/repos/ByteInternet/PingdomLib/milestones{/number}","notifications_url":"https://api.github.com/repos/ByteInternet/PingdomLib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ByteInternet/PingdomLib/labels{/name}","releases_url":"https://api.github.com/repos/ByteInternet/PingdomLib/releases{/id}","created_at":"2014-07-25T13:22:41Z","updated_at":"2015-01-21T20:32:45Z","pushed_at":"2015-01-27T09:52:57Z","git_url":"git://github.com/ByteInternet/PingdomLib.git","ssh_url":"git@github.com:ByteInternet/PingdomLib.git","clone_url":"https://github.com/ByteInternet/PingdomLib.git","svn_url":"https://github.com/ByteInternet/PingdomLib","homepage":null,"size":245,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ByteInternet/PingdomLib/pulls/2"},"html":{"href":"https://github.com/ByteInternet/PingdomLib/pull/2"},"issue":{"href":"https://api.github.com/repos/ByteInternet/PingdomLib/issues/2"},"comments":{"href":"https://api.github.com/repos/ByteInternet/PingdomLib/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ByteInternet/PingdomLib/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ByteInternet/PingdomLib/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ByteInternet/PingdomLib/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ByteInternet/PingdomLib/statuses/762cfb27592eb836d04dead92199f06aa7a0a109"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"allardhoeve","id":1262726,"avatar_url":"https://avatars.githubusercontent.com/u/1262726?v=3","gravatar_id":"","url":"https://api.github.com/users/allardhoeve","html_url":"https://github.com/allardhoeve","followers_url":"https://api.github.com/users/allardhoeve/followers","following_url":"https://api.github.com/users/allardhoeve/following{/other_user}","gists_url":"https://api.github.com/users/allardhoeve/gists{/gist_id}","starred_url":"https://api.github.com/users/allardhoeve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allardhoeve/subscriptions","organizations_url":"https://api.github.com/users/allardhoeve/orgs","repos_url":"https://api.github.com/users/allardhoeve/repos","events_url":"https://api.github.com/users/allardhoeve/events{/privacy}","received_events_url":"https://api.github.com/users/allardhoeve/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":2,"deletions":2,"changed_files":1}}