{"action":"created","comment":{"url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls/comments/60639318","id":60639318,"diff_hunk":"@@ -0,0 +1,159 @@\n+package hello;\n+\n+import java.io.BufferedOutputStream;\n+import java.io.File;\n+import java.io.FileOutputStream;\n+import java.util.Arrays;\n+import java.util.Comparator;\n+import java.util.List;\n+import java.util.stream.Collectors;\n+\n+import javax.servlet.ServletContext;\n+import javax.servlet.http.HttpServlet;\n+\n+import org.springframework.stereotype.Controller;\n+import org.springframework.ui.Model;\n+import org.springframework.util.FileCopyUtils;\n+import org.springframework.web.bind.annotation.RequestMapping;\n+import org.springframework.web.bind.annotation.RequestMethod;\n+import org.springframework.web.bind.annotation.RequestParam;\n+import org.springframework.web.multipart.MultipartFile;\n+import org.springframework.web.servlet.mvc.support.RedirectAttributes;\n+\n+@Controller\n+public class FileController {\n+\n+@Override \n+private HttpServletContext request;\n+private File filepath = new File(request.getSession().getServletContext.getRealPath(\"/\"));\n+\n+\n+@RequestMapping(method = RequestMethod.GET, value = \"/upload\")\n+public String provideFileList(Model model) {\n+\t\n+\t//List the files in the filesystem\n+\tFile rootFolder = filepath;\n+\tList<String> fileNames = Arrays.stream(rootFolder.listFiles())\n+\t\t.map(f -> f.getName())\n+\t\t.collect(Collectors.toList());\n+\n+\tmodel.addAttribute(\"files\",\n+\t\tArrays.stream(rootFolder.listFiles())\n+\t\t\t\t.sorted(Comparator.comparingLong(f -> -1 * f.lastModified()))\n+\t\t\t\t.map(f -> f.getName())\n+\t\t\t\t.collect(Collectors.toList())\n+\t);\n+\treturn \"uploadForm\";\n+}\n+\n+\n+\n+@RequestMapping(method = RequestMethod.POST, value = \"/upload\")\n+public String handleFileUpload(@RequestParam(\"name\") String name,\n+\t\t\t\t\t\t\t   @RequestParam(\"file\") MultipartFile file,\n+\t\t\t\t\t\t\t   RedirectAttributes redirectAttributes) {\n+\tif (name.contains(\"/\")) {\n+\t\tredirectAttributes.addFlashAttribute(\"message\", \"Folder separators or Relative not allowed\");\n+\t\treturn \"redirect:upload\";\n+\t}\n+\t\n+\tif (!file.isEmpty()) {\n+\t\ttry {\n+\t\t\t//Store the uploaded file content in filesystem \n+\t\t\tfile.transferTo(filepath + \"/\" + name);\n+\t\t\tredirectAttributes.addFlashAttribute(\"message\",\n+\t\t\t\t\t\"You successfully uploaded \" + name + \"to the file system!\"+\"--path:\"+filepath.getPath());\n+\t\t}\n+\t\tcatch (Exception e) {\n+\t\t\tredirectAttributes.addFlashAttribute(\"message\",\n+\t\t\t\t\t\"You failed to upload \" + name + \" => \" + e.getMessage());\n+\t\t}\n+\t} else {\n+\t\tredirectAttributes.addFlashAttribute(\"message\",\n+\t\t\t\t\"You failed to upload \" + name + \" because the file was empty\");\n+\t}\n+\treturn \"redirect:upload\";\n+}\n+\n+\n+\n+@RequestMapping(method = RequestMethod.POST, value = \"/download\")\n+public String handleFileDownload(@RequestParam(\"name\") String name,\n+\t\t\t\t\t\t\t   @RequestParam(\"rename\") String rename,\n+\t\t\t\t\t\t\t   RedirectAttributes redirectAttributes) {\n+\tif ((name.contains(\"/\")) || (rename.contains(\"/\"))) {\n+\t\tredirectAttributes.addFlashAttribute(\"message\", \"Folder separators or Relative pathnames not allowed\");\n+\t\treturn \"redirect:upload\";\n+\t}\n+\t\n+\tif (!name.isEmpty()) {\n+\t\ttry {\n+\t\t\t//Convert the relative web path to absolute disk path\n+\t\t\tFile filepath = new File(servletContext.getRealPath(\"/\"));\n+\t\t\tif(checkFileinDir(name,filepath)){\n+\t\t\t\tString newname = name;\n+\t\t\t\t//If the user did not give the rename, \n+\t\t\t\t//it will rename downloaded file as '...-Copy' to avoid duplicate\n+\t\t\t\tif (!rename.isEmpty()){ newname = rename;}\n+\t\t\t\telse { newname = name +\"-Copy\";}\n+\t\t\t\tFileCopyUtils.copy(new File(filepath + \"/\" + name),\n+\t\t\t\t\t\t\t\t   new File(filepath + \"/\" + newname));\n+\t\t\t\tredirectAttributes.addFlashAttribute(\"message\",\n+\t\t\t\t\t\"You successfully downloaded \" + name + \" to the file system!\"+\"--path:\"+filepath.getPath());\n+\t\t\t} else {\n+\t\t\t\tredirectAttributes.addFlashAttribute(\"message\",\n+\t\t\t\t\t\"No such file:\" + name);\n+\t\t\t}\n+\t\t\t\n+\t\t}\n+\t\tcatch (Exception e) {\n+\t\t\tif(!file.isEmpty()){\n+\t\t\t\tredirectAttributes.addFlashAttribute(\"message\", \"You failed to download \" + name + \" => \" + e.getMessage());\n+\t\t\t} else {\n+\t\t\t\tthrow e;\n+\t\t\t\tSystem.out.println(\"EMPTY FILE, STOP!\")\n+\t\t\t}\n+\t\t}\n+\t} else {\n+\t\tredirectAttributes.addFlashAttribute(\"message\",\n+\t\t\t\t\"Please enter the file's name you want to download\");\n+\t}\n+\t\n+\treturn \"redirect:upload\";\n+}\n+\n+\n+\n+//helper method to find the named file in the internal file system\n+//return true if the file exists in the system; It validate the input first\n+@Override\n+private boolean checkFileinDir(String name,File file, \n+\t\t\t\t\t\t\tRedirectAttributes redirectAttributes)","path":"complete/src/main/java/hello/FileController.java","position":131,"original_position":131,"commit_id":"a8997af9f5e327525a65bdee8c8ca79b0b82c245","original_commit_id":"a8997af9f5e327525a65bdee8c8ca79b0b82c245","user":{"login":"isobretatel","id":1386249,"avatar_url":"https://avatars.githubusercontent.com/u/1386249?v=3","gravatar_id":"","url":"https://api.github.com/users/isobretatel","html_url":"https://github.com/isobretatel","followers_url":"https://api.github.com/users/isobretatel/followers","following_url":"https://api.github.com/users/isobretatel/following{/other_user}","gists_url":"https://api.github.com/users/isobretatel/gists{/gist_id}","starred_url":"https://api.github.com/users/isobretatel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isobretatel/subscriptions","organizations_url":"https://api.github.com/users/isobretatel/orgs","repos_url":"https://api.github.com/users/isobretatel/repos","events_url":"https://api.github.com/users/isobretatel/events{/privacy}","received_events_url":"https://api.github.com/users/isobretatel/received_events","type":"User","site_admin":false},"body":"RedirectAttributes belongs to UI.","created_at":"2016-04-21T19:15:07Z","updated_at":"2016-04-21T19:15:07Z","html_url":"https://github.com/kjinlokm/gs-uploading-files_AR/pull/1#discussion_r60639318","pull_request_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls/comments/60639318"},"html":{"href":"https://github.com/kjinlokm/gs-uploading-files_AR/pull/1#discussion_r60639318"},"pull_request":{"href":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls/1","id":67273588,"html_url":"https://github.com/kjinlokm/gs-uploading-files_AR/pull/1","diff_url":"https://github.com/kjinlokm/gs-uploading-files_AR/pull/1.diff","patch_url":"https://github.com/kjinlokm/gs-uploading-files_AR/pull/1.patch","issue_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/issues/1","number":1,"state":"open","locked":false,"title":"The modified version with ARCHIBUS assignment","user":{"login":"kjinlokm","id":14917072,"avatar_url":"https://avatars.githubusercontent.com/u/14917072?v=3","gravatar_id":"","url":"https://api.github.com/users/kjinlokm","html_url":"https://github.com/kjinlokm","followers_url":"https://api.github.com/users/kjinlokm/followers","following_url":"https://api.github.com/users/kjinlokm/following{/other_user}","gists_url":"https://api.github.com/users/kjinlokm/gists{/gist_id}","starred_url":"https://api.github.com/users/kjinlokm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjinlokm/subscriptions","organizations_url":"https://api.github.com/users/kjinlokm/orgs","repos_url":"https://api.github.com/users/kjinlokm/repos","events_url":"https://api.github.com/users/kjinlokm/events{/privacy}","received_events_url":"https://api.github.com/users/kjinlokm/received_events","type":"User","site_admin":false},"body":"This is the file upload application example using Spring MVC:\r\nThe source repository can be found on: \r\n\thttps://github.com/spring-guides/gs-uploading-files.git\r\n\r\n","created_at":"2016-04-20T23:14:14Z","updated_at":"2016-04-21T19:15:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f0c8e0cfd3ba10318ed0da2029fe35d781c59de9","assignee":{"login":"isobretatel","id":1386249,"avatar_url":"https://avatars.githubusercontent.com/u/1386249?v=3","gravatar_id":"","url":"https://api.github.com/users/isobretatel","html_url":"https://github.com/isobretatel","followers_url":"https://api.github.com/users/isobretatel/followers","following_url":"https://api.github.com/users/isobretatel/following{/other_user}","gists_url":"https://api.github.com/users/isobretatel/gists{/gist_id}","starred_url":"https://api.github.com/users/isobretatel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isobretatel/subscriptions","organizations_url":"https://api.github.com/users/isobretatel/orgs","repos_url":"https://api.github.com/users/isobretatel/repos","events_url":"https://api.github.com/users/isobretatel/events{/privacy}","received_events_url":"https://api.github.com/users/isobretatel/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls/1/commits","review_comments_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls/1/comments","review_comment_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/issues/1/comments","statuses_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/statuses/a8997af9f5e327525a65bdee8c8ca79b0b82c245","head":{"label":"kjinlokm:develop","ref":"develop","sha":"a8997af9f5e327525a65bdee8c8ca79b0b82c245","user":{"login":"kjinlokm","id":14917072,"avatar_url":"https://avatars.githubusercontent.com/u/14917072?v=3","gravatar_id":"","url":"https://api.github.com/users/kjinlokm","html_url":"https://github.com/kjinlokm","followers_url":"https://api.github.com/users/kjinlokm/followers","following_url":"https://api.github.com/users/kjinlokm/following{/other_user}","gists_url":"https://api.github.com/users/kjinlokm/gists{/gist_id}","starred_url":"https://api.github.com/users/kjinlokm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjinlokm/subscriptions","organizations_url":"https://api.github.com/users/kjinlokm/orgs","repos_url":"https://api.github.com/users/kjinlokm/repos","events_url":"https://api.github.com/users/kjinlokm/events{/privacy}","received_events_url":"https://api.github.com/users/kjinlokm/received_events","type":"User","site_admin":false},"repo":{"id":56726631,"name":"gs-uploading-files_AR","full_name":"kjinlokm/gs-uploading-files_AR","owner":{"login":"kjinlokm","id":14917072,"avatar_url":"https://avatars.githubusercontent.com/u/14917072?v=3","gravatar_id":"","url":"https://api.github.com/users/kjinlokm","html_url":"https://github.com/kjinlokm","followers_url":"https://api.github.com/users/kjinlokm/followers","following_url":"https://api.github.com/users/kjinlokm/following{/other_user}","gists_url":"https://api.github.com/users/kjinlokm/gists{/gist_id}","starred_url":"https://api.github.com/users/kjinlokm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjinlokm/subscriptions","organizations_url":"https://api.github.com/users/kjinlokm/orgs","repos_url":"https://api.github.com/users/kjinlokm/repos","events_url":"https://api.github.com/users/kjinlokm/events{/privacy}","received_events_url":"https://api.github.com/users/kjinlokm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kjinlokm/gs-uploading-files_AR","description":"This is the file upload application example using Spring MVC; The source repository can be found on:https://github.com/spring-guides/gs-uploading-files.git","fork":false,"url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR","forks_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/forks","keys_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/teams","hooks_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/hooks","issue_events_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/issues/events{/number}","events_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/events","assignees_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/assignees{/user}","branches_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/branches{/branch}","tags_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/tags","blobs_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/git/refs{/sha}","trees_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/statuses/{sha}","languages_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/languages","stargazers_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/stargazers","contributors_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/contributors","subscribers_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/subscribers","subscription_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/subscription","commits_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/commits{/sha}","git_commits_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/git/commits{/sha}","comments_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/comments{/number}","issue_comment_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/issues/comments{/number}","contents_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/contents/{+path}","compare_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/merges","archive_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/downloads","issues_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/issues{/number}","pulls_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls{/number}","milestones_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/milestones{/number}","notifications_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/labels{/name}","releases_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/releases{/id}","deployments_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/deployments","created_at":"2016-04-20T23:07:09Z","updated_at":"2016-04-20T23:09:27Z","pushed_at":"2016-04-21T17:12:56Z","git_url":"git://github.com/kjinlokm/gs-uploading-files_AR.git","ssh_url":"git@github.com:kjinlokm/gs-uploading-files_AR.git","clone_url":"https://github.com/kjinlokm/gs-uploading-files_AR.git","svn_url":"https://github.com/kjinlokm/gs-uploading-files_AR","homepage":null,"size":35315,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kjinlokm:master","ref":"master","sha":"a8a10d3abf75cf765bfc8a01d16479ee646dd7e4","user":{"login":"kjinlokm","id":14917072,"avatar_url":"https://avatars.githubusercontent.com/u/14917072?v=3","gravatar_id":"","url":"https://api.github.com/users/kjinlokm","html_url":"https://github.com/kjinlokm","followers_url":"https://api.github.com/users/kjinlokm/followers","following_url":"https://api.github.com/users/kjinlokm/following{/other_user}","gists_url":"https://api.github.com/users/kjinlokm/gists{/gist_id}","starred_url":"https://api.github.com/users/kjinlokm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjinlokm/subscriptions","organizations_url":"https://api.github.com/users/kjinlokm/orgs","repos_url":"https://api.github.com/users/kjinlokm/repos","events_url":"https://api.github.com/users/kjinlokm/events{/privacy}","received_events_url":"https://api.github.com/users/kjinlokm/received_events","type":"User","site_admin":false},"repo":{"id":56726631,"name":"gs-uploading-files_AR","full_name":"kjinlokm/gs-uploading-files_AR","owner":{"login":"kjinlokm","id":14917072,"avatar_url":"https://avatars.githubusercontent.com/u/14917072?v=3","gravatar_id":"","url":"https://api.github.com/users/kjinlokm","html_url":"https://github.com/kjinlokm","followers_url":"https://api.github.com/users/kjinlokm/followers","following_url":"https://api.github.com/users/kjinlokm/following{/other_user}","gists_url":"https://api.github.com/users/kjinlokm/gists{/gist_id}","starred_url":"https://api.github.com/users/kjinlokm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjinlokm/subscriptions","organizations_url":"https://api.github.com/users/kjinlokm/orgs","repos_url":"https://api.github.com/users/kjinlokm/repos","events_url":"https://api.github.com/users/kjinlokm/events{/privacy}","received_events_url":"https://api.github.com/users/kjinlokm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kjinlokm/gs-uploading-files_AR","description":"This is the file upload application example using Spring MVC; The source repository can be found on:https://github.com/spring-guides/gs-uploading-files.git","fork":false,"url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR","forks_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/forks","keys_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/teams","hooks_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/hooks","issue_events_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/issues/events{/number}","events_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/events","assignees_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/assignees{/user}","branches_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/branches{/branch}","tags_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/tags","blobs_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/git/refs{/sha}","trees_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/statuses/{sha}","languages_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/languages","stargazers_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/stargazers","contributors_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/contributors","subscribers_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/subscribers","subscription_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/subscription","commits_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/commits{/sha}","git_commits_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/git/commits{/sha}","comments_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/comments{/number}","issue_comment_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/issues/comments{/number}","contents_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/contents/{+path}","compare_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/merges","archive_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/downloads","issues_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/issues{/number}","pulls_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls{/number}","milestones_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/milestones{/number}","notifications_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/labels{/name}","releases_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/releases{/id}","deployments_url":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/deployments","created_at":"2016-04-20T23:07:09Z","updated_at":"2016-04-20T23:09:27Z","pushed_at":"2016-04-21T17:12:56Z","git_url":"git://github.com/kjinlokm/gs-uploading-files_AR.git","ssh_url":"git@github.com:kjinlokm/gs-uploading-files_AR.git","clone_url":"https://github.com/kjinlokm/gs-uploading-files_AR.git","svn_url":"https://github.com/kjinlokm/gs-uploading-files_AR","homepage":null,"size":35315,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls/1"},"html":{"href":"https://github.com/kjinlokm/gs-uploading-files_AR/pull/1"},"issue":{"href":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/issues/1"},"comments":{"href":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/kjinlokm/gs-uploading-files_AR/statuses/a8997af9f5e327525a65bdee8c8ca79b0b82c245"}}}}