{"action":"created","comment":{"url":"https://api.github.com/repos/square/pagerduty-incidents/pulls/comments/40232945","id":40232945,"diff_hunk":"@@ -27,18 +27,18 @@\n \n   /** Create a new instance using the specified API key. */\n   public static PagerDuty create(String apiKey) {\n-    RestAdapter restAdapter = new RestAdapter.Builder() //\n-        .setEndpoint(Endpoints.newFixedEndpoint(HOST)) //\n+    Retrofit retrofit = new Retrofit.Builder() //\n+        .baseUrl(HOST) //","path":"src/main/java/com/squareup/pagerduty/incidents/PagerDuty.java","position":18,"original_position":18,"commit_id":"7ac07c0b69b77c5f070cae383cb2d0b57a92f5d6","original_commit_id":"7ac07c0b69b77c5f070cae383cb2d0b57a92f5d6","user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"body":"With v1, Gson was implicitly used. In v2 there is no default converter so the lack of installing a converter factory here will cause it to fail at runtime.","created_at":"2015-09-23T17:36:39Z","updated_at":"2015-09-23T17:36:39Z","html_url":"https://github.com/square/pagerduty-incidents/pull/13#discussion_r40232945","pull_request_url":"https://api.github.com/repos/square/pagerduty-incidents/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/square/pagerduty-incidents/pulls/comments/40232945"},"html":{"href":"https://github.com/square/pagerduty-incidents/pull/13#discussion_r40232945"},"pull_request":{"href":"https://api.github.com/repos/square/pagerduty-incidents/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/square/pagerduty-incidents/pulls/13","id":45807210,"html_url":"https://github.com/square/pagerduty-incidents/pull/13","diff_url":"https://github.com/square/pagerduty-incidents/pull/13.diff","patch_url":"https://github.com/square/pagerduty-incidents/pull/13.patch","issue_url":"https://api.github.com/repos/square/pagerduty-incidents/issues/13","number":13,"state":"closed","locked":false,"title":"Update to latest Retrofit release","user":{"login":"mescortes","id":1553664,"avatar_url":"https://avatars.githubusercontent.com/u/1553664?v=3","gravatar_id":"","url":"https://api.github.com/users/mescortes","html_url":"https://github.com/mescortes","followers_url":"https://api.github.com/users/mescortes/followers","following_url":"https://api.github.com/users/mescortes/following{/other_user}","gists_url":"https://api.github.com/users/mescortes/gists{/gist_id}","starred_url":"https://api.github.com/users/mescortes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mescortes/subscriptions","organizations_url":"https://api.github.com/users/mescortes/orgs","repos_url":"https://api.github.com/users/mescortes/repos","events_url":"https://api.github.com/users/mescortes/events{/privacy}","received_events_url":"https://api.github.com/users/mescortes/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-23T17:28:04Z","updated_at":"2015-09-23T17:36:39Z","closed_at":"2015-09-23T17:31:24Z","merged_at":"2015-09-23T17:31:24Z","merge_commit_sha":"eae9f8dddefe3e670620b0f6ef89abfe4d85daac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/square/pagerduty-incidents/pulls/13/commits","review_comments_url":"https://api.github.com/repos/square/pagerduty-incidents/pulls/13/comments","review_comment_url":"https://api.github.com/repos/square/pagerduty-incidents/pulls/comments{/number}","comments_url":"https://api.github.com/repos/square/pagerduty-incidents/issues/13/comments","statuses_url":"https://api.github.com/repos/square/pagerduty-incidents/statuses/7ac07c0b69b77c5f070cae383cb2d0b57a92f5d6","head":{"label":"square:marcelo/update-retrofit","ref":"marcelo/update-retrofit","sha":"7ac07c0b69b77c5f070cae383cb2d0b57a92f5d6","user":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":22907524,"name":"pagerduty-incidents","full_name":"square/pagerduty-incidents","owner":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/square/pagerduty-incidents","description":"Java utility for programmatically triggering and resolving PagerDuty incidents.","fork":false,"url":"https://api.github.com/repos/square/pagerduty-incidents","forks_url":"https://api.github.com/repos/square/pagerduty-incidents/forks","keys_url":"https://api.github.com/repos/square/pagerduty-incidents/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/pagerduty-incidents/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/pagerduty-incidents/teams","hooks_url":"https://api.github.com/repos/square/pagerduty-incidents/hooks","issue_events_url":"https://api.github.com/repos/square/pagerduty-incidents/issues/events{/number}","events_url":"https://api.github.com/repos/square/pagerduty-incidents/events","assignees_url":"https://api.github.com/repos/square/pagerduty-incidents/assignees{/user}","branches_url":"https://api.github.com/repos/square/pagerduty-incidents/branches{/branch}","tags_url":"https://api.github.com/repos/square/pagerduty-incidents/tags","blobs_url":"https://api.github.com/repos/square/pagerduty-incidents/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/pagerduty-incidents/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/pagerduty-incidents/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/pagerduty-incidents/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/pagerduty-incidents/statuses/{sha}","languages_url":"https://api.github.com/repos/square/pagerduty-incidents/languages","stargazers_url":"https://api.github.com/repos/square/pagerduty-incidents/stargazers","contributors_url":"https://api.github.com/repos/square/pagerduty-incidents/contributors","subscribers_url":"https://api.github.com/repos/square/pagerduty-incidents/subscribers","subscription_url":"https://api.github.com/repos/square/pagerduty-incidents/subscription","commits_url":"https://api.github.com/repos/square/pagerduty-incidents/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/pagerduty-incidents/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/pagerduty-incidents/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/pagerduty-incidents/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/pagerduty-incidents/contents/{+path}","compare_url":"https://api.github.com/repos/square/pagerduty-incidents/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/pagerduty-incidents/merges","archive_url":"https://api.github.com/repos/square/pagerduty-incidents/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/pagerduty-incidents/downloads","issues_url":"https://api.github.com/repos/square/pagerduty-incidents/issues{/number}","pulls_url":"https://api.github.com/repos/square/pagerduty-incidents/pulls{/number}","milestones_url":"https://api.github.com/repos/square/pagerduty-incidents/milestones{/number}","notifications_url":"https://api.github.com/repos/square/pagerduty-incidents/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/pagerduty-incidents/labels{/name}","releases_url":"https://api.github.com/repos/square/pagerduty-incidents/releases{/id}","created_at":"2014-08-13T07:57:20Z","updated_at":"2015-09-18T14:12:08Z","pushed_at":"2015-09-23T17:33:41Z","git_url":"git://github.com/square/pagerduty-incidents.git","ssh_url":"git@github.com:square/pagerduty-incidents.git","clone_url":"https://github.com/square/pagerduty-incidents.git","svn_url":"https://github.com/square/pagerduty-incidents","homepage":"http://square.github.io/pagerduty-incidents/","size":385,"stargazers_count":35,"watchers_count":35,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":0,"forks":12,"open_issues":0,"watchers":35,"default_branch":"master"}},"base":{"label":"square:master","ref":"master","sha":"bad35bb608d700928ee489cdacaca32ff27158e7","user":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":22907524,"name":"pagerduty-incidents","full_name":"square/pagerduty-incidents","owner":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/square/pagerduty-incidents","description":"Java utility for programmatically triggering and resolving PagerDuty incidents.","fork":false,"url":"https://api.github.com/repos/square/pagerduty-incidents","forks_url":"https://api.github.com/repos/square/pagerduty-incidents/forks","keys_url":"https://api.github.com/repos/square/pagerduty-incidents/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/pagerduty-incidents/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/pagerduty-incidents/teams","hooks_url":"https://api.github.com/repos/square/pagerduty-incidents/hooks","issue_events_url":"https://api.github.com/repos/square/pagerduty-incidents/issues/events{/number}","events_url":"https://api.github.com/repos/square/pagerduty-incidents/events","assignees_url":"https://api.github.com/repos/square/pagerduty-incidents/assignees{/user}","branches_url":"https://api.github.com/repos/square/pagerduty-incidents/branches{/branch}","tags_url":"https://api.github.com/repos/square/pagerduty-incidents/tags","blobs_url":"https://api.github.com/repos/square/pagerduty-incidents/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/pagerduty-incidents/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/pagerduty-incidents/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/pagerduty-incidents/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/pagerduty-incidents/statuses/{sha}","languages_url":"https://api.github.com/repos/square/pagerduty-incidents/languages","stargazers_url":"https://api.github.com/repos/square/pagerduty-incidents/stargazers","contributors_url":"https://api.github.com/repos/square/pagerduty-incidents/contributors","subscribers_url":"https://api.github.com/repos/square/pagerduty-incidents/subscribers","subscription_url":"https://api.github.com/repos/square/pagerduty-incidents/subscription","commits_url":"https://api.github.com/repos/square/pagerduty-incidents/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/pagerduty-incidents/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/pagerduty-incidents/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/pagerduty-incidents/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/pagerduty-incidents/contents/{+path}","compare_url":"https://api.github.com/repos/square/pagerduty-incidents/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/pagerduty-incidents/merges","archive_url":"https://api.github.com/repos/square/pagerduty-incidents/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/pagerduty-incidents/downloads","issues_url":"https://api.github.com/repos/square/pagerduty-incidents/issues{/number}","pulls_url":"https://api.github.com/repos/square/pagerduty-incidents/pulls{/number}","milestones_url":"https://api.github.com/repos/square/pagerduty-incidents/milestones{/number}","notifications_url":"https://api.github.com/repos/square/pagerduty-incidents/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/pagerduty-incidents/labels{/name}","releases_url":"https://api.github.com/repos/square/pagerduty-incidents/releases{/id}","created_at":"2014-08-13T07:57:20Z","updated_at":"2015-09-18T14:12:08Z","pushed_at":"2015-09-23T17:33:41Z","git_url":"git://github.com/square/pagerduty-incidents.git","ssh_url":"git@github.com:square/pagerduty-incidents.git","clone_url":"https://github.com/square/pagerduty-incidents.git","svn_url":"https://github.com/square/pagerduty-incidents","homepage":"http://square.github.io/pagerduty-incidents/","size":385,"stargazers_count":35,"watchers_count":35,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":0,"forks":12,"open_issues":0,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/square/pagerduty-incidents/pulls/13"},"html":{"href":"https://github.com/square/pagerduty-incidents/pull/13"},"issue":{"href":"https://api.github.com/repos/square/pagerduty-incidents/issues/13"},"comments":{"href":"https://api.github.com/repos/square/pagerduty-incidents/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/square/pagerduty-incidents/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/square/pagerduty-incidents/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/square/pagerduty-incidents/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/square/pagerduty-incidents/statuses/7ac07c0b69b77c5f070cae383cb2d0b57a92f5d6"}}}}