{"action":"created","comment":{"url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls/comments/82092892","pull_request_review_id":3024472,"id":82092892,"diff_hunk":"@@ -0,0 +1,190 @@\n+package ru.mail.park.main;\n+\n+import com.fasterxml.jackson.annotation.JsonCreator;\n+import com.fasterxml.jackson.annotation.JsonProperty;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.http.HttpStatus;\n+import org.springframework.http.ResponseEntity;\n+import org.springframework.util.StringUtils;\n+import org.springframework.web.bind.annotation.*;\n+import ru.mail.park.model.UserProfile;\n+import ru.mail.park.services.AccountService;\n+import ru.mail.park.services.SessionService;\n+\n+import javax.servlet.http.HttpSession;\n+\n+@RestController\n+public class RegistrationController {\n+\n+\n+    private final AccountService accountService;\n+    private final SessionService sessionService;\n+\n+\n+    @Autowired\n+    public RegistrationController(AccountService accountService, SessionService sessionService) {\n+        this.accountService = accountService;\n+        this.sessionService = sessionService;\n+    }\n+\n+    @RequestMapping(path = \"/api/user\", method = RequestMethod.POST)\n+    public ResponseEntity login(@RequestBody RegistRequest body) {\n+\n+\n+        final String login = body.getLogin();\n+        final String password = body.getPassword();\n+        final  String email = body.getEmail();\n+\n+\n+        if (StringUtils.isEmpty(login)\n+                || StringUtils.isEmpty(password)\n+                || StringUtils.isEmpty(email)) {\n+            return ResponseEntity.status(HttpStatus.BAD_REQUEST).body(\"{}\");\n+        }\n+        final UserProfile existingUser = accountService.getUser(login);\n+        if (existingUser != null) {\n+            return ResponseEntity.status(HttpStatus.BAD_REQUEST).body(\"{}\");\n+        }\n+\n+        accountService.addUser(login, password, email);\n+        return ResponseEntity.ok(new SuccessResponse(login));\n+    }\n+    @RequestMapping(path = \"/api/session\", method = RequestMethod.GET)\n+    public ResponseEntity checkAuth(HttpSession sessionId) {\n+        if (sessionService.checkExists(sessionId.getId())) {\n+            return ResponseEntity.ok(new SuccessResponse(sessionService.returnLogin(sessionId.getId())));\n+        } else {\n+            return ResponseEntity.status(HttpStatus.UNAUTHORIZED).body(\"{}\");\n+        }\n+    }\n+\n+    @RequestMapping(path = \"/api/session\", method = RequestMethod.DELETE)\n+    public ResponseEntity deleteSession(HttpSession sessionId) {\n+        if(sessionService.checkExists(sessionId.getId())) {\n+            sessionService.deleteSession(sessionId.getId());\n+            return ResponseEntity.ok().body(\"{}\");\n+        }\n+        return ResponseEntity.status(HttpStatus.UNAUTHORIZED).body(\"{}\");\n+    }\n+\n+    @RequestMapping(path = \"/api/session\", method = RequestMethod.POST)\n+    public ResponseEntity auth(@RequestBody AuthRequest body, HttpSession sessionId) {\n+        final String login = body.getLogin();\n+        final String password = body.getPassword();\n+        if(StringUtils.isEmpty(login)\n+                || StringUtils.isEmpty(password) ) {\n+            return ResponseEntity.status(HttpStatus.BAD_REQUEST).body(\"{}\");\n+        }\n+        final UserProfile user = accountService.getUser(login);\n+        if(user.getPassword().equals(password)) {\n+            sessionService.addSession(sessionId.getId(),user.getLogin());\n+            return ResponseEntity.ok(new SuccessResponse(user.getLogin()));\n+        }\n+        return ResponseEntity.status(HttpStatus.BAD_REQUEST).body(\"{}\");\n+    }\n+\n+    @RequestMapping(path = \"/api/user/{id}\", method = RequestMethod.GET)\n+    public ResponseEntity getInfo(@PathVariable(\"id\") int id, HttpSession sessionId) {","path":"src/main/java/ru/mail/park/main/RegistrationController.java","position":87,"original_position":87,"commit_id":"4be876bb26a87b5468ac26c3ca233f068a87eadb","original_commit_id":"4be876bb26a87b5468ac26c3ca233f068a87eadb","user":{"login":"devil1001","id":13318328,"avatar_url":"https://avatars.githubusercontent.com/u/13318328?v=3","gravatar_id":"","url":"https://api.github.com/users/devil1001","html_url":"https://github.com/devil1001","followers_url":"https://api.github.com/users/devil1001/followers","following_url":"https://api.github.com/users/devil1001/following{/other_user}","gists_url":"https://api.github.com/users/devil1001/gists{/gist_id}","starred_url":"https://api.github.com/users/devil1001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devil1001/subscriptions","organizations_url":"https://api.github.com/users/devil1001/orgs","repos_url":"https://api.github.com/users/devil1001/repos","events_url":"https://api.github.com/users/devil1001/events{/privacy}","received_events_url":"https://api.github.com/users/devil1001/received_events","type":"User","site_admin":false},"body":"ой, тут ошибся, в accountService.getUser просто id надо передать","created_at":"2016-10-05T23:33:14Z","updated_at":"2016-10-05T23:33:14Z","html_url":"https://github.com/java-park-mail-ru/card-game-09-2016/pull/1#discussion_r82092892","pull_request_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls/comments/82092892"},"html":{"href":"https://github.com/java-park-mail-ru/card-game-09-2016/pull/1#discussion_r82092892"},"pull_request":{"href":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls/1","id":87808956,"html_url":"https://github.com/java-park-mail-ru/card-game-09-2016/pull/1","diff_url":"https://github.com/java-park-mail-ru/card-game-09-2016/pull/1.diff","patch_url":"https://github.com/java-park-mail-ru/card-game-09-2016/pull/1.patch","issue_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/issues/1","number":1,"state":"open","locked":false,"title":"Deathtest","user":{"login":"Alexandr030291","id":19173064,"avatar_url":"https://avatars.githubusercontent.com/u/19173064?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexandr030291","html_url":"https://github.com/Alexandr030291","followers_url":"https://api.github.com/users/Alexandr030291/followers","following_url":"https://api.github.com/users/Alexandr030291/following{/other_user}","gists_url":"https://api.github.com/users/Alexandr030291/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexandr030291/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexandr030291/subscriptions","organizations_url":"https://api.github.com/users/Alexandr030291/orgs","repos_url":"https://api.github.com/users/Alexandr030291/repos","events_url":"https://api.github.com/users/Alexandr030291/events{/privacy}","received_events_url":"https://api.github.com/users/Alexandr030291/received_events","type":"User","site_admin":false},"body":"А здесь сами заводим деплой для командной, просто на фронте за нас это делал ментор а мы заводили только для своего форка","created_at":"2016-10-03T23:14:03Z","updated_at":"2016-10-05T23:33:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c926aed15cc9752ccb90046b7dada8d6c93a8da","assignee":{"login":"KSolovyev","id":4122313,"avatar_url":"https://avatars.githubusercontent.com/u/4122313?v=3","gravatar_id":"","url":"https://api.github.com/users/KSolovyev","html_url":"https://github.com/KSolovyev","followers_url":"https://api.github.com/users/KSolovyev/followers","following_url":"https://api.github.com/users/KSolovyev/following{/other_user}","gists_url":"https://api.github.com/users/KSolovyev/gists{/gist_id}","starred_url":"https://api.github.com/users/KSolovyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSolovyev/subscriptions","organizations_url":"https://api.github.com/users/KSolovyev/orgs","repos_url":"https://api.github.com/users/KSolovyev/repos","events_url":"https://api.github.com/users/KSolovyev/events{/privacy}","received_events_url":"https://api.github.com/users/KSolovyev/received_events","type":"User","site_admin":false},"assignees":[{"login":"KSolovyev","id":4122313,"avatar_url":"https://avatars.githubusercontent.com/u/4122313?v=3","gravatar_id":"","url":"https://api.github.com/users/KSolovyev","html_url":"https://github.com/KSolovyev","followers_url":"https://api.github.com/users/KSolovyev/followers","following_url":"https://api.github.com/users/KSolovyev/following{/other_user}","gists_url":"https://api.github.com/users/KSolovyev/gists{/gist_id}","starred_url":"https://api.github.com/users/KSolovyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSolovyev/subscriptions","organizations_url":"https://api.github.com/users/KSolovyev/orgs","repos_url":"https://api.github.com/users/KSolovyev/repos","events_url":"https://api.github.com/users/KSolovyev/events{/privacy}","received_events_url":"https://api.github.com/users/KSolovyev/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls/1/commits","review_comments_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls/1/comments","review_comment_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls/comments{/number}","comments_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/issues/1/comments","statuses_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/statuses/4be876bb26a87b5468ac26c3ca233f068a87eadb","head":{"label":"Alexandr030291:deathtest","ref":"deathtest","sha":"4be876bb26a87b5468ac26c3ca233f068a87eadb","user":{"login":"Alexandr030291","id":19173064,"avatar_url":"https://avatars.githubusercontent.com/u/19173064?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexandr030291","html_url":"https://github.com/Alexandr030291","followers_url":"https://api.github.com/users/Alexandr030291/followers","following_url":"https://api.github.com/users/Alexandr030291/following{/other_user}","gists_url":"https://api.github.com/users/Alexandr030291/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexandr030291/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexandr030291/subscriptions","organizations_url":"https://api.github.com/users/Alexandr030291/orgs","repos_url":"https://api.github.com/users/Alexandr030291/repos","events_url":"https://api.github.com/users/Alexandr030291/events{/privacy}","received_events_url":"https://api.github.com/users/Alexandr030291/received_events","type":"User","site_admin":false},"repo":{"id":67949989,"name":"card-game-09-2016","full_name":"Alexandr030291/card-game-09-2016","owner":{"login":"Alexandr030291","id":19173064,"avatar_url":"https://avatars.githubusercontent.com/u/19173064?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexandr030291","html_url":"https://github.com/Alexandr030291","followers_url":"https://api.github.com/users/Alexandr030291/followers","following_url":"https://api.github.com/users/Alexandr030291/following{/other_user}","gists_url":"https://api.github.com/users/Alexandr030291/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexandr030291/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexandr030291/subscriptions","organizations_url":"https://api.github.com/users/Alexandr030291/orgs","repos_url":"https://api.github.com/users/Alexandr030291/repos","events_url":"https://api.github.com/users/Alexandr030291/events{/privacy}","received_events_url":"https://api.github.com/users/Alexandr030291/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Alexandr030291/card-game-09-2016","description":null,"fork":true,"url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016","forks_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/forks","keys_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/teams","hooks_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/hooks","issue_events_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/issues/events{/number}","events_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/events","assignees_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/assignees{/user}","branches_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/branches{/branch}","tags_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/tags","blobs_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/statuses/{sha}","languages_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/languages","stargazers_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/stargazers","contributors_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/contributors","subscribers_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/subscribers","subscription_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/subscription","commits_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/contents/{+path}","compare_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/merges","archive_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/downloads","issues_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/issues{/number}","pulls_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/pulls{/number}","milestones_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/milestones{/number}","notifications_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/labels{/name}","releases_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/releases{/id}","deployments_url":"https://api.github.com/repos/Alexandr030291/card-game-09-2016/deployments","created_at":"2016-09-11T19:30:40Z","updated_at":"2016-09-11T20:21:10Z","pushed_at":"2016-10-05T20:03:27Z","git_url":"git://github.com/Alexandr030291/card-game-09-2016.git","ssh_url":"git@github.com:Alexandr030291/card-game-09-2016.git","clone_url":"https://github.com/Alexandr030291/card-game-09-2016.git","svn_url":"https://github.com/Alexandr030291/card-game-09-2016","homepage":null,"size":46,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"java-park-mail-ru:master","ref":"master","sha":"f6c706d13259ed704079ea834dda77d4338ef945","user":{"login":"java-park-mail-ru","id":17194939,"avatar_url":"https://avatars.githubusercontent.com/u/17194939?v=3","gravatar_id":"","url":"https://api.github.com/users/java-park-mail-ru","html_url":"https://github.com/java-park-mail-ru","followers_url":"https://api.github.com/users/java-park-mail-ru/followers","following_url":"https://api.github.com/users/java-park-mail-ru/following{/other_user}","gists_url":"https://api.github.com/users/java-park-mail-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/java-park-mail-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java-park-mail-ru/subscriptions","organizations_url":"https://api.github.com/users/java-park-mail-ru/orgs","repos_url":"https://api.github.com/users/java-park-mail-ru/repos","events_url":"https://api.github.com/users/java-park-mail-ru/events{/privacy}","received_events_url":"https://api.github.com/users/java-park-mail-ru/received_events","type":"Organization","site_admin":false},"repo":{"id":67949557,"name":"card-game-09-2016","full_name":"java-park-mail-ru/card-game-09-2016","owner":{"login":"java-park-mail-ru","id":17194939,"avatar_url":"https://avatars.githubusercontent.com/u/17194939?v=3","gravatar_id":"","url":"https://api.github.com/users/java-park-mail-ru","html_url":"https://github.com/java-park-mail-ru","followers_url":"https://api.github.com/users/java-park-mail-ru/followers","following_url":"https://api.github.com/users/java-park-mail-ru/following{/other_user}","gists_url":"https://api.github.com/users/java-park-mail-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/java-park-mail-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java-park-mail-ru/subscriptions","organizations_url":"https://api.github.com/users/java-park-mail-ru/orgs","repos_url":"https://api.github.com/users/java-park-mail-ru/repos","events_url":"https://api.github.com/users/java-park-mail-ru/events{/privacy}","received_events_url":"https://api.github.com/users/java-park-mail-ru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/java-park-mail-ru/card-game-09-2016","description":null,"fork":false,"url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016","forks_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/forks","keys_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/teams","hooks_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/hooks","issue_events_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/issues/events{/number}","events_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/events","assignees_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/assignees{/user}","branches_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/branches{/branch}","tags_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/tags","blobs_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/statuses/{sha}","languages_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/languages","stargazers_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/stargazers","contributors_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/contributors","subscribers_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/subscribers","subscription_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/subscription","commits_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/contents/{+path}","compare_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/merges","archive_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/downloads","issues_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/issues{/number}","pulls_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls{/number}","milestones_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/milestones{/number}","notifications_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/labels{/name}","releases_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/releases{/id}","deployments_url":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/deployments","created_at":"2016-09-11T19:21:25Z","updated_at":"2016-09-11T19:21:25Z","pushed_at":"2016-10-05T20:03:27Z","git_url":"git://github.com/java-park-mail-ru/card-game-09-2016.git","ssh_url":"git@github.com:java-park-mail-ru/card-game-09-2016.git","clone_url":"https://github.com/java-park-mail-ru/card-game-09-2016.git","svn_url":"https://github.com/java-park-mail-ru/card-game-09-2016","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls/1"},"html":{"href":"https://github.com/java-park-mail-ru/card-game-09-2016/pull/1"},"issue":{"href":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/issues/1"},"comments":{"href":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/java-park-mail-ru/card-game-09-2016/statuses/4be876bb26a87b5468ac26c3ca233f068a87eadb"}}}}
{"actor":{"display_login":"devil1001"}}