{"action":"created","comment":{"url":"https://api.github.com/repos/misaochan/apps-android-commons/pulls/comments/48318835","id":48318835,"diff_hunk":"@@ -0,0 +1,169 @@\n+package fr.free.nrw.commons.upload;\n+\n+import android.content.Context;\n+import android.util.Log;\n+\n+import com.android.volley.Cache;\n+import com.android.volley.NetworkResponse;\n+import com.android.volley.Request;\n+import com.android.volley.RequestQueue;\n+import com.android.volley.Response;\n+import com.android.volley.VolleyError;\n+import com.android.volley.toolbox.HttpHeaderParser;\n+import com.android.volley.toolbox.JsonRequest;\n+import com.android.volley.toolbox.Volley;\n+\n+import com.google.gson.Gson;\n+\n+\n+import java.io.UnsupportedEncodingException;\n+import java.util.ArrayList;\n+import java.util.Collection;\n+\n+public class APICalls {","path":"commons/src/main/java/fr/free/nrw/commons/upload/APICalls.java","position":23,"original_position":23,"commit_id":"8b062147bc31f38c06e4ab6e3f74fd84e6d0839d","original_commit_id":"8b062147bc31f38c06e4ab6e3f74fd84e6d0839d","user":{"login":"misaochan","id":3611199,"avatar_url":"https://avatars.githubusercontent.com/u/3611199?v=3","gravatar_id":"","url":"https://api.github.com/users/misaochan","html_url":"https://github.com/misaochan","followers_url":"https://api.github.com/users/misaochan/followers","following_url":"https://api.github.com/users/misaochan/following{/other_user}","gists_url":"https://api.github.com/users/misaochan/gists{/gist_id}","starred_url":"https://api.github.com/users/misaochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misaochan/subscriptions","organizations_url":"https://api.github.com/users/misaochan/orgs","repos_url":"https://api.github.com/users/misaochan/repos","events_url":"https://api.github.com/users/misaochan/events{/privacy}","received_events_url":"https://api.github.com/users/misaochan/received_events","type":"User","site_admin":false},"body":"Done :)","created_at":"2015-12-23T02:55:42Z","updated_at":"2015-12-23T02:55:42Z","html_url":"https://github.com/misaochan/apps-android-commons/pull/7#discussion_r48318835","pull_request_url":"https://api.github.com/repos/misaochan/apps-android-commons/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/misaochan/apps-android-commons/pulls/comments/48318835"},"html":{"href":"https://github.com/misaochan/apps-android-commons/pull/7#discussion_r48318835"},"pull_request":{"href":"https://api.github.com/repos/misaochan/apps-android-commons/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/misaochan/apps-android-commons/pulls/7","id":54426468,"html_url":"https://github.com/misaochan/apps-android-commons/pull/7","diff_url":"https://github.com/misaochan/apps-android-commons/pull/7.diff","patch_url":"https://github.com/misaochan/apps-android-commons/pull/7.patch","issue_url":"https://api.github.com/repos/misaochan/apps-android-commons/issues/7","number":7,"state":"open","locked":false,"title":"Api calls","user":{"login":"niedzielski","id":1071806,"avatar_url":"https://avatars.githubusercontent.com/u/1071806?v=3","gravatar_id":"","url":"https://api.github.com/users/niedzielski","html_url":"https://github.com/niedzielski","followers_url":"https://api.github.com/users/niedzielski/followers","following_url":"https://api.github.com/users/niedzielski/following{/other_user}","gists_url":"https://api.github.com/users/niedzielski/gists{/gist_id}","starred_url":"https://api.github.com/users/niedzielski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niedzielski/subscriptions","organizations_url":"https://api.github.com/users/niedzielski/orgs","repos_url":"https://api.github.com/users/niedzielski/repos","events_url":"https://api.github.com/users/niedzielski/events{/privacy}","received_events_url":"https://api.github.com/users/niedzielski/received_events","type":"User","site_admin":false},"body":"opening pr for comments :)","created_at":"2015-12-22T23:21:25Z","updated_at":"2015-12-23T02:55:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ecde35196a170ff17fb18577fe69ebd802141eda","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/misaochan/apps-android-commons/pulls/7/commits","review_comments_url":"https://api.github.com/repos/misaochan/apps-android-commons/pulls/7/comments","review_comment_url":"https://api.github.com/repos/misaochan/apps-android-commons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/misaochan/apps-android-commons/issues/7/comments","statuses_url":"https://api.github.com/repos/misaochan/apps-android-commons/statuses/8b062147bc31f38c06e4ab6e3f74fd84e6d0839d","head":{"label":"misaochan:api-calls","ref":"api-calls","sha":"8b062147bc31f38c06e4ab6e3f74fd84e6d0839d","user":{"login":"misaochan","id":3611199,"avatar_url":"https://avatars.githubusercontent.com/u/3611199?v=3","gravatar_id":"","url":"https://api.github.com/users/misaochan","html_url":"https://github.com/misaochan","followers_url":"https://api.github.com/users/misaochan/followers","following_url":"https://api.github.com/users/misaochan/following{/other_user}","gists_url":"https://api.github.com/users/misaochan/gists{/gist_id}","starred_url":"https://api.github.com/users/misaochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misaochan/subscriptions","organizations_url":"https://api.github.com/users/misaochan/orgs","repos_url":"https://api.github.com/users/misaochan/repos","events_url":"https://api.github.com/users/misaochan/events{/privacy}","received_events_url":"https://api.github.com/users/misaochan/received_events","type":"User","site_admin":false},"repo":{"id":43427766,"name":"apps-android-commons","full_name":"misaochan/apps-android-commons","owner":{"login":"misaochan","id":3611199,"avatar_url":"https://avatars.githubusercontent.com/u/3611199?v=3","gravatar_id":"","url":"https://api.github.com/users/misaochan","html_url":"https://github.com/misaochan","followers_url":"https://api.github.com/users/misaochan/followers","following_url":"https://api.github.com/users/misaochan/following{/other_user}","gists_url":"https://api.github.com/users/misaochan/gists{/gist_id}","starred_url":"https://api.github.com/users/misaochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misaochan/subscriptions","organizations_url":"https://api.github.com/users/misaochan/orgs","repos_url":"https://api.github.com/users/misaochan/repos","events_url":"https://api.github.com/users/misaochan/events{/privacy}","received_events_url":"https://api.github.com/users/misaochan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/misaochan/apps-android-commons","description":"Upload pictures from Android to Wikimedia Commons. Looking for volunteers! Come say hi at https://groups.google.com/d/forum/commons-app-android and install at https://play.google.com/store/apps/details?id=fr.free.nrw.commons","fork":true,"url":"https://api.github.com/repos/misaochan/apps-android-commons","forks_url":"https://api.github.com/repos/misaochan/apps-android-commons/forks","keys_url":"https://api.github.com/repos/misaochan/apps-android-commons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/misaochan/apps-android-commons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/misaochan/apps-android-commons/teams","hooks_url":"https://api.github.com/repos/misaochan/apps-android-commons/hooks","issue_events_url":"https://api.github.com/repos/misaochan/apps-android-commons/issues/events{/number}","events_url":"https://api.github.com/repos/misaochan/apps-android-commons/events","assignees_url":"https://api.github.com/repos/misaochan/apps-android-commons/assignees{/user}","branches_url":"https://api.github.com/repos/misaochan/apps-android-commons/branches{/branch}","tags_url":"https://api.github.com/repos/misaochan/apps-android-commons/tags","blobs_url":"https://api.github.com/repos/misaochan/apps-android-commons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/misaochan/apps-android-commons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/misaochan/apps-android-commons/git/refs{/sha}","trees_url":"https://api.github.com/repos/misaochan/apps-android-commons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/misaochan/apps-android-commons/statuses/{sha}","languages_url":"https://api.github.com/repos/misaochan/apps-android-commons/languages","stargazers_url":"https://api.github.com/repos/misaochan/apps-android-commons/stargazers","contributors_url":"https://api.github.com/repos/misaochan/apps-android-commons/contributors","subscribers_url":"https://api.github.com/repos/misaochan/apps-android-commons/subscribers","subscription_url":"https://api.github.com/repos/misaochan/apps-android-commons/subscription","commits_url":"https://api.github.com/repos/misaochan/apps-android-commons/commits{/sha}","git_commits_url":"https://api.github.com/repos/misaochan/apps-android-commons/git/commits{/sha}","comments_url":"https://api.github.com/repos/misaochan/apps-android-commons/comments{/number}","issue_comment_url":"https://api.github.com/repos/misaochan/apps-android-commons/issues/comments{/number}","contents_url":"https://api.github.com/repos/misaochan/apps-android-commons/contents/{+path}","compare_url":"https://api.github.com/repos/misaochan/apps-android-commons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/misaochan/apps-android-commons/merges","archive_url":"https://api.github.com/repos/misaochan/apps-android-commons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/misaochan/apps-android-commons/downloads","issues_url":"https://api.github.com/repos/misaochan/apps-android-commons/issues{/number}","pulls_url":"https://api.github.com/repos/misaochan/apps-android-commons/pulls{/number}","milestones_url":"https://api.github.com/repos/misaochan/apps-android-commons/milestones{/number}","notifications_url":"https://api.github.com/repos/misaochan/apps-android-commons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/misaochan/apps-android-commons/labels{/name}","releases_url":"https://api.github.com/repos/misaochan/apps-android-commons/releases{/id}","created_at":"2015-09-30T10:51:23Z","updated_at":"2015-12-14T16:50:35Z","pushed_at":"2015-12-22T23:21:25Z","git_url":"git://github.com/misaochan/apps-android-commons.git","ssh_url":"git@github.com:misaochan/apps-android-commons.git","clone_url":"https://github.com/misaochan/apps-android-commons.git","svn_url":"https://github.com/misaochan/apps-android-commons","homepage":"","size":25298,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":4,"default_branch":"master"}},"base":{"label":"misaochan:master","ref":"master","sha":"31f78b4b6b1427fc99349b82a87159dac4cb99d0","user":{"login":"misaochan","id":3611199,"avatar_url":"https://avatars.githubusercontent.com/u/3611199?v=3","gravatar_id":"","url":"https://api.github.com/users/misaochan","html_url":"https://github.com/misaochan","followers_url":"https://api.github.com/users/misaochan/followers","following_url":"https://api.github.com/users/misaochan/following{/other_user}","gists_url":"https://api.github.com/users/misaochan/gists{/gist_id}","starred_url":"https://api.github.com/users/misaochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misaochan/subscriptions","organizations_url":"https://api.github.com/users/misaochan/orgs","repos_url":"https://api.github.com/users/misaochan/repos","events_url":"https://api.github.com/users/misaochan/events{/privacy}","received_events_url":"https://api.github.com/users/misaochan/received_events","type":"User","site_admin":false},"repo":{"id":43427766,"name":"apps-android-commons","full_name":"misaochan/apps-android-commons","owner":{"login":"misaochan","id":3611199,"avatar_url":"https://avatars.githubusercontent.com/u/3611199?v=3","gravatar_id":"","url":"https://api.github.com/users/misaochan","html_url":"https://github.com/misaochan","followers_url":"https://api.github.com/users/misaochan/followers","following_url":"https://api.github.com/users/misaochan/following{/other_user}","gists_url":"https://api.github.com/users/misaochan/gists{/gist_id}","starred_url":"https://api.github.com/users/misaochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misaochan/subscriptions","organizations_url":"https://api.github.com/users/misaochan/orgs","repos_url":"https://api.github.com/users/misaochan/repos","events_url":"https://api.github.com/users/misaochan/events{/privacy}","received_events_url":"https://api.github.com/users/misaochan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/misaochan/apps-android-commons","description":"Upload pictures from Android to Wikimedia Commons. Looking for volunteers! Come say hi at https://groups.google.com/d/forum/commons-app-android and install at https://play.google.com/store/apps/details?id=fr.free.nrw.commons","fork":true,"url":"https://api.github.com/repos/misaochan/apps-android-commons","forks_url":"https://api.github.com/repos/misaochan/apps-android-commons/forks","keys_url":"https://api.github.com/repos/misaochan/apps-android-commons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/misaochan/apps-android-commons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/misaochan/apps-android-commons/teams","hooks_url":"https://api.github.com/repos/misaochan/apps-android-commons/hooks","issue_events_url":"https://api.github.com/repos/misaochan/apps-android-commons/issues/events{/number}","events_url":"https://api.github.com/repos/misaochan/apps-android-commons/events","assignees_url":"https://api.github.com/repos/misaochan/apps-android-commons/assignees{/user}","branches_url":"https://api.github.com/repos/misaochan/apps-android-commons/branches{/branch}","tags_url":"https://api.github.com/repos/misaochan/apps-android-commons/tags","blobs_url":"https://api.github.com/repos/misaochan/apps-android-commons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/misaochan/apps-android-commons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/misaochan/apps-android-commons/git/refs{/sha}","trees_url":"https://api.github.com/repos/misaochan/apps-android-commons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/misaochan/apps-android-commons/statuses/{sha}","languages_url":"https://api.github.com/repos/misaochan/apps-android-commons/languages","stargazers_url":"https://api.github.com/repos/misaochan/apps-android-commons/stargazers","contributors_url":"https://api.github.com/repos/misaochan/apps-android-commons/contributors","subscribers_url":"https://api.github.com/repos/misaochan/apps-android-commons/subscribers","subscription_url":"https://api.github.com/repos/misaochan/apps-android-commons/subscription","commits_url":"https://api.github.com/repos/misaochan/apps-android-commons/commits{/sha}","git_commits_url":"https://api.github.com/repos/misaochan/apps-android-commons/git/commits{/sha}","comments_url":"https://api.github.com/repos/misaochan/apps-android-commons/comments{/number}","issue_comment_url":"https://api.github.com/repos/misaochan/apps-android-commons/issues/comments{/number}","contents_url":"https://api.github.com/repos/misaochan/apps-android-commons/contents/{+path}","compare_url":"https://api.github.com/repos/misaochan/apps-android-commons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/misaochan/apps-android-commons/merges","archive_url":"https://api.github.com/repos/misaochan/apps-android-commons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/misaochan/apps-android-commons/downloads","issues_url":"https://api.github.com/repos/misaochan/apps-android-commons/issues{/number}","pulls_url":"https://api.github.com/repos/misaochan/apps-android-commons/pulls{/number}","milestones_url":"https://api.github.com/repos/misaochan/apps-android-commons/milestones{/number}","notifications_url":"https://api.github.com/repos/misaochan/apps-android-commons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/misaochan/apps-android-commons/labels{/name}","releases_url":"https://api.github.com/repos/misaochan/apps-android-commons/releases{/id}","created_at":"2015-09-30T10:51:23Z","updated_at":"2015-12-14T16:50:35Z","pushed_at":"2015-12-22T23:21:25Z","git_url":"git://github.com/misaochan/apps-android-commons.git","ssh_url":"git@github.com:misaochan/apps-android-commons.git","clone_url":"https://github.com/misaochan/apps-android-commons.git","svn_url":"https://github.com/misaochan/apps-android-commons","homepage":"","size":25298,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/misaochan/apps-android-commons/pulls/7"},"html":{"href":"https://github.com/misaochan/apps-android-commons/pull/7"},"issue":{"href":"https://api.github.com/repos/misaochan/apps-android-commons/issues/7"},"comments":{"href":"https://api.github.com/repos/misaochan/apps-android-commons/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/misaochan/apps-android-commons/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/misaochan/apps-android-commons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/misaochan/apps-android-commons/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/misaochan/apps-android-commons/statuses/8b062147bc31f38c06e4ab6e3f74fd84e6d0839d"}}}}