{"action":"closed","number":31,"pull_request":{"url":"https://api.github.com/repos/amplitude/Amplitude-Android/pulls/31","id":31486520,"html_url":"https://github.com/amplitude/Amplitude-Android/pull/31","diff_url":"https://github.com/amplitude/Amplitude-Android/pull/31.diff","patch_url":"https://github.com/amplitude/Amplitude-Android/pull/31.patch","issue_url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/31","number":31,"state":"closed","locked":false,"title":"SSL pinning","user":{"login":"allanca","id":175399,"avatar_url":"https://avatars.githubusercontent.com/u/175399?v=3","gravatar_id":"","url":"https://api.github.com/users/allanca","html_url":"https://github.com/allanca","followers_url":"https://api.github.com/users/allanca/followers","following_url":"https://api.github.com/users/allanca/following{/other_user}","gists_url":"https://api.github.com/users/allanca/gists{/gist_id}","starred_url":"https://api.github.com/users/allanca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanca/subscriptions","organizations_url":"https://api.github.com/users/allanca/orgs","repos_url":"https://api.github.com/users/allanca/repos","events_url":"https://api.github.com/users/allanca/events{/privacy}","received_events_url":"https://api.github.com/users/allanca/received_events","type":"User","site_admin":false},"body":"Pin the SSL certificate for api.amplitude.com to the Comodo CA certificate. Required changing the http client to use okhttp.\r\n\r\nTo use SSL pinning, the PinnedAmplitudeClient class must be used.\r\n\r\nAlso, deprecates the static methods and breaks the client out into a top-level class.","created_at":"2015-03-19T00:42:19Z","updated_at":"2015-03-23T22:09:15Z","closed_at":"2015-03-23T22:09:15Z","merged_at":"2015-03-23T22:09:15Z","merge_commit_sha":"06aae9d03fb74daa4479e75771163a4af837689c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amplitude/Amplitude-Android/pulls/31/commits","review_comments_url":"https://api.github.com/repos/amplitude/Amplitude-Android/pulls/31/comments","review_comment_url":"https://api.github.com/repos/amplitude/Amplitude-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/31/comments","statuses_url":"https://api.github.com/repos/amplitude/Amplitude-Android/statuses/570b8eba743a9f3633e370dbcece0fd3dcfb8065","head":{"label":"amplitude:ssl-pinning","ref":"ssl-pinning","sha":"570b8eba743a9f3633e370dbcece0fd3dcfb8065","user":{"login":"amplitude","id":2291562,"avatar_url":"https://avatars.githubusercontent.com/u/2291562?v=3","gravatar_id":"","url":"https://api.github.com/users/amplitude","html_url":"https://github.com/amplitude","followers_url":"https://api.github.com/users/amplitude/followers","following_url":"https://api.github.com/users/amplitude/following{/other_user}","gists_url":"https://api.github.com/users/amplitude/gists{/gist_id}","starred_url":"https://api.github.com/users/amplitude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplitude/subscriptions","organizations_url":"https://api.github.com/users/amplitude/orgs","repos_url":"https://api.github.com/users/amplitude/repos","events_url":"https://api.github.com/users/amplitude/events{/privacy}","received_events_url":"https://api.github.com/users/amplitude/received_events","type":"Organization","site_admin":false},"repo":{"id":5702425,"name":"Amplitude-Android","full_name":"amplitude/Amplitude-Android","owner":{"login":"amplitude","id":2291562,"avatar_url":"https://avatars.githubusercontent.com/u/2291562?v=3","gravatar_id":"","url":"https://api.github.com/users/amplitude","html_url":"https://github.com/amplitude","followers_url":"https://api.github.com/users/amplitude/followers","following_url":"https://api.github.com/users/amplitude/following{/other_user}","gists_url":"https://api.github.com/users/amplitude/gists{/gist_id}","starred_url":"https://api.github.com/users/amplitude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplitude/subscriptions","organizations_url":"https://api.github.com/users/amplitude/orgs","repos_url":"https://api.github.com/users/amplitude/repos","events_url":"https://api.github.com/users/amplitude/events{/privacy}","received_events_url":"https://api.github.com/users/amplitude/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amplitude/Amplitude-Android","description":"Android SDK for Amplitude","fork":false,"url":"https://api.github.com/repos/amplitude/Amplitude-Android","forks_url":"https://api.github.com/repos/amplitude/Amplitude-Android/forks","keys_url":"https://api.github.com/repos/amplitude/Amplitude-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amplitude/Amplitude-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amplitude/Amplitude-Android/teams","hooks_url":"https://api.github.com/repos/amplitude/Amplitude-Android/hooks","issue_events_url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/events{/number}","events_url":"https://api.github.com/repos/amplitude/Amplitude-Android/events","assignees_url":"https://api.github.com/repos/amplitude/Amplitude-Android/assignees{/user}","branches_url":"https://api.github.com/repos/amplitude/Amplitude-Android/branches{/branch}","tags_url":"https://api.github.com/repos/amplitude/Amplitude-Android/tags","blobs_url":"https://api.github.com/repos/amplitude/Amplitude-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amplitude/Amplitude-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amplitude/Amplitude-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/amplitude/Amplitude-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amplitude/Amplitude-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/amplitude/Amplitude-Android/languages","stargazers_url":"https://api.github.com/repos/amplitude/Amplitude-Android/stargazers","contributors_url":"https://api.github.com/repos/amplitude/Amplitude-Android/contributors","subscribers_url":"https://api.github.com/repos/amplitude/Amplitude-Android/subscribers","subscription_url":"https://api.github.com/repos/amplitude/Amplitude-Android/subscription","commits_url":"https://api.github.com/repos/amplitude/Amplitude-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/amplitude/Amplitude-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/amplitude/Amplitude-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/amplitude/Amplitude-Android/contents/{+path}","compare_url":"https://api.github.com/repos/amplitude/Amplitude-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amplitude/Amplitude-Android/merges","archive_url":"https://api.github.com/repos/amplitude/Amplitude-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amplitude/Amplitude-Android/downloads","issues_url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues{/number}","pulls_url":"https://api.github.com/repos/amplitude/Amplitude-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/amplitude/Amplitude-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/amplitude/Amplitude-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amplitude/Amplitude-Android/labels{/name}","releases_url":"https://api.github.com/repos/amplitude/Amplitude-Android/releases{/id}","created_at":"2012-09-06T13:18:59Z","updated_at":"2015-03-17T01:34:46Z","pushed_at":"2015-03-23T22:09:15Z","git_url":"git://github.com/amplitude/Amplitude-Android.git","ssh_url":"git@github.com:amplitude/Amplitude-Android.git","clone_url":"https://github.com/amplitude/Amplitude-Android.git","svn_url":"https://github.com/amplitude/Amplitude-Android","homepage":"","size":30646,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":3,"forks":14,"open_issues":3,"watchers":11,"default_branch":"master"}},"base":{"label":"amplitude:master","ref":"master","sha":"37ebdf3f8cd181d8481e0df6009a3dcb1ce9471c","user":{"login":"amplitude","id":2291562,"avatar_url":"https://avatars.githubusercontent.com/u/2291562?v=3","gravatar_id":"","url":"https://api.github.com/users/amplitude","html_url":"https://github.com/amplitude","followers_url":"https://api.github.com/users/amplitude/followers","following_url":"https://api.github.com/users/amplitude/following{/other_user}","gists_url":"https://api.github.com/users/amplitude/gists{/gist_id}","starred_url":"https://api.github.com/users/amplitude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplitude/subscriptions","organizations_url":"https://api.github.com/users/amplitude/orgs","repos_url":"https://api.github.com/users/amplitude/repos","events_url":"https://api.github.com/users/amplitude/events{/privacy}","received_events_url":"https://api.github.com/users/amplitude/received_events","type":"Organization","site_admin":false},"repo":{"id":5702425,"name":"Amplitude-Android","full_name":"amplitude/Amplitude-Android","owner":{"login":"amplitude","id":2291562,"avatar_url":"https://avatars.githubusercontent.com/u/2291562?v=3","gravatar_id":"","url":"https://api.github.com/users/amplitude","html_url":"https://github.com/amplitude","followers_url":"https://api.github.com/users/amplitude/followers","following_url":"https://api.github.com/users/amplitude/following{/other_user}","gists_url":"https://api.github.com/users/amplitude/gists{/gist_id}","starred_url":"https://api.github.com/users/amplitude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplitude/subscriptions","organizations_url":"https://api.github.com/users/amplitude/orgs","repos_url":"https://api.github.com/users/amplitude/repos","events_url":"https://api.github.com/users/amplitude/events{/privacy}","received_events_url":"https://api.github.com/users/amplitude/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amplitude/Amplitude-Android","description":"Android SDK for Amplitude","fork":false,"url":"https://api.github.com/repos/amplitude/Amplitude-Android","forks_url":"https://api.github.com/repos/amplitude/Amplitude-Android/forks","keys_url":"https://api.github.com/repos/amplitude/Amplitude-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amplitude/Amplitude-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amplitude/Amplitude-Android/teams","hooks_url":"https://api.github.com/repos/amplitude/Amplitude-Android/hooks","issue_events_url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/events{/number}","events_url":"https://api.github.com/repos/amplitude/Amplitude-Android/events","assignees_url":"https://api.github.com/repos/amplitude/Amplitude-Android/assignees{/user}","branches_url":"https://api.github.com/repos/amplitude/Amplitude-Android/branches{/branch}","tags_url":"https://api.github.com/repos/amplitude/Amplitude-Android/tags","blobs_url":"https://api.github.com/repos/amplitude/Amplitude-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amplitude/Amplitude-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amplitude/Amplitude-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/amplitude/Amplitude-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amplitude/Amplitude-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/amplitude/Amplitude-Android/languages","stargazers_url":"https://api.github.com/repos/amplitude/Amplitude-Android/stargazers","contributors_url":"https://api.github.com/repos/amplitude/Amplitude-Android/contributors","subscribers_url":"https://api.github.com/repos/amplitude/Amplitude-Android/subscribers","subscription_url":"https://api.github.com/repos/amplitude/Amplitude-Android/subscription","commits_url":"https://api.github.com/repos/amplitude/Amplitude-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/amplitude/Amplitude-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/amplitude/Amplitude-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/amplitude/Amplitude-Android/contents/{+path}","compare_url":"https://api.github.com/repos/amplitude/Amplitude-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amplitude/Amplitude-Android/merges","archive_url":"https://api.github.com/repos/amplitude/Amplitude-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amplitude/Amplitude-Android/downloads","issues_url":"https://api.github.com/repos/amplitude/Amplitude-Android/issues{/number}","pulls_url":"https://api.github.com/repos/amplitude/Amplitude-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/amplitude/Amplitude-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/amplitude/Amplitude-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amplitude/Amplitude-Android/labels{/name}","releases_url":"https://api.github.com/repos/amplitude/Amplitude-Android/releases{/id}","created_at":"2012-09-06T13:18:59Z","updated_at":"2015-03-17T01:34:46Z","pushed_at":"2015-03-23T22:09:15Z","git_url":"git://github.com/amplitude/Amplitude-Android.git","ssh_url":"git@github.com:amplitude/Amplitude-Android.git","clone_url":"https://github.com/amplitude/Amplitude-Android.git","svn_url":"https://github.com/amplitude/Amplitude-Android","homepage":"","size":30646,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":3,"forks":14,"open_issues":3,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amplitude/Amplitude-Android/pulls/31"},"html":{"href":"https://github.com/amplitude/Amplitude-Android/pull/31"},"issue":{"href":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/31"},"comments":{"href":"https://api.github.com/repos/amplitude/Amplitude-Android/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/amplitude/Amplitude-Android/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/amplitude/Amplitude-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amplitude/Amplitude-Android/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/amplitude/Amplitude-Android/statuses/570b8eba743a9f3633e370dbcece0fd3dcfb8065"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"allanca","id":175399,"avatar_url":"https://avatars.githubusercontent.com/u/175399?v=3","gravatar_id":"","url":"https://api.github.com/users/allanca","html_url":"https://github.com/allanca","followers_url":"https://api.github.com/users/allanca/followers","following_url":"https://api.github.com/users/allanca/following{/other_user}","gists_url":"https://api.github.com/users/allanca/gists{/gist_id}","starred_url":"https://api.github.com/users/allanca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanca/subscriptions","organizations_url":"https://api.github.com/users/allanca/orgs","repos_url":"https://api.github.com/users/allanca/repos","events_url":"https://api.github.com/users/allanca/events{/privacy}","received_events_url":"https://api.github.com/users/allanca/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":3,"additions":1266,"deletions":885,"changed_files":13}}