{"action":"created","comment":{"url":"https://api.github.com/repos/jcabi/jcabi-github/pulls/comments/23367303","id":23367303,"diff_hunk":"@@ -139,6 +146,31 @@ public UserEmails emails() {\n     }\n \n     @Override\n+    public List<Notification> notifications() throws IOException {\n+        final List<Notification> notifs =\n+            new LinkedList<Notification>();\n+        final JsonResponse resp = this.github().entry().uri()\n+            .path(\"notifications\")\n+            .back()\n+            .fetch()\n+            .as(JsonResponse.class);\n+        final JsonArray jsnnotifs = resp.json().readArray();\n+        for (final JsonValue jsnnotif : jsnnotifs) {\n+            final JsonObject notifobj = (JsonObject) jsnnotif;\n+            final Notification notif = new RtNotification(\n+                Long.parseLong(notifobj.getString(\"id\"))\n+            );\n+            notifs.add(notif);\n+        }\n+        return notifs;\n+    }\n+\n+    @Override\n+    public void markAsRead(final Date lastread) {\n+        // Will be implemented later","path":"src/main/java/com/jcabi/github/RtUser.java","position":48,"original_position":48,"commit_id":"5763b4dc8bd3a6cb34d230974c43834f5f2f5046","original_commit_id":"d59a12bc8714a3387ab9c45e50e8f1ed4f839b51","user":{"login":"dpisarenko","id":1143055,"avatar_url":"https://avatars.githubusercontent.com/u/1143055?v=3","gravatar_id":"","url":"https://api.github.com/users/dpisarenko","html_url":"https://github.com/dpisarenko","followers_url":"https://api.github.com/users/dpisarenko/followers","following_url":"https://api.github.com/users/dpisarenko/following{/other_user}","gists_url":"https://api.github.com/users/dpisarenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dpisarenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpisarenko/subscriptions","organizations_url":"https://api.github.com/users/dpisarenko/orgs","repos_url":"https://api.github.com/users/dpisarenko/repos","events_url":"https://api.github.com/users/dpisarenko/events{/privacy}","received_events_url":"https://api.github.com/users/dpisarenko/received_events","type":"User","site_admin":false},"body":"I don't think so - there is a todo in the header:\r\n\r\n```\r\n/**\r\n * Github user.\r\n *\r\n * @author Yegor Bugayenko (yegor@tpc2.com)\r\n * @version $Id$\r\n * @since 0.1\r\n * @todo #913:30min Implement operations RtUser.markAsRead().\r\n */\r\n@Immutable\r\n@Loggable(Loggable.DEBUG)\r\n@EqualsAndHashCode(of = { \"ghub\", \"request\" })\r\nfinal class RtUser implements User {\r\n```","created_at":"2015-01-22T10:42:48Z","updated_at":"2015-01-22T10:42:48Z","html_url":"https://github.com/jcabi/jcabi-github/pull/985#discussion_r23367303","pull_request_url":"https://api.github.com/repos/jcabi/jcabi-github/pulls/985","_links":{"self":{"href":"https://api.github.com/repos/jcabi/jcabi-github/pulls/comments/23367303"},"html":{"href":"https://github.com/jcabi/jcabi-github/pull/985#discussion_r23367303"},"pull_request":{"href":"https://api.github.com/repos/jcabi/jcabi-github/pulls/985"}}},"pull_request":{"url":"https://api.github.com/repos/jcabi/jcabi-github/pulls/985","id":27366561,"html_url":"https://github.com/jcabi/jcabi-github/pull/985","diff_url":"https://github.com/jcabi/jcabi-github/pull/985.diff","patch_url":"https://github.com/jcabi/jcabi-github/pull/985.patch","issue_url":"https://api.github.com/repos/jcabi/jcabi-github/issues/985","number":985,"state":"open","locked":false,"title":"Notification API support","user":{"login":"dpisarenko","id":1143055,"avatar_url":"https://avatars.githubusercontent.com/u/1143055?v=3","gravatar_id":"","url":"https://api.github.com/users/dpisarenko","html_url":"https://github.com/dpisarenko","followers_url":"https://api.github.com/users/dpisarenko/followers","following_url":"https://api.github.com/users/dpisarenko/following{/other_user}","gists_url":"https://api.github.com/users/dpisarenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dpisarenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpisarenko/subscriptions","organizations_url":"https://api.github.com/users/dpisarenko/orgs","repos_url":"https://api.github.com/users/dpisarenko/repos","events_url":"https://api.github.com/users/dpisarenko/events{/privacy}","received_events_url":"https://api.github.com/users/dpisarenko/received_events","type":"User","site_admin":false},"body":"Issue: https://github.com/jcabi/jcabi-github/issues/913","created_at":"2015-01-14T17:19:24Z","updated_at":"2015-01-22T10:42:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3560e615981560bfc050f60db71093f90053dc3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jcabi/jcabi-github/pulls/985/commits","review_comments_url":"https://api.github.com/repos/jcabi/jcabi-github/pulls/985/comments","review_comment_url":"https://api.github.com/repos/jcabi/jcabi-github/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jcabi/jcabi-github/issues/985/comments","statuses_url":"https://api.github.com/repos/jcabi/jcabi-github/statuses/5763b4dc8bd3a6cb34d230974c43834f5f2f5046","head":{"label":"dpisarenko:jcabi-github-913","ref":"jcabi-github-913","sha":"5763b4dc8bd3a6cb34d230974c43834f5f2f5046","user":{"login":"dpisarenko","id":1143055,"avatar_url":"https://avatars.githubusercontent.com/u/1143055?v=3","gravatar_id":"","url":"https://api.github.com/users/dpisarenko","html_url":"https://github.com/dpisarenko","followers_url":"https://api.github.com/users/dpisarenko/followers","following_url":"https://api.github.com/users/dpisarenko/following{/other_user}","gists_url":"https://api.github.com/users/dpisarenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dpisarenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpisarenko/subscriptions","organizations_url":"https://api.github.com/users/dpisarenko/orgs","repos_url":"https://api.github.com/users/dpisarenko/repos","events_url":"https://api.github.com/users/dpisarenko/events{/privacy}","received_events_url":"https://api.github.com/users/dpisarenko/received_events","type":"User","site_admin":false},"repo":{"id":29253606,"name":"jcabi-github","full_name":"dpisarenko/jcabi-github","owner":{"login":"dpisarenko","id":1143055,"avatar_url":"https://avatars.githubusercontent.com/u/1143055?v=3","gravatar_id":"","url":"https://api.github.com/users/dpisarenko","html_url":"https://github.com/dpisarenko","followers_url":"https://api.github.com/users/dpisarenko/followers","following_url":"https://api.github.com/users/dpisarenko/following{/other_user}","gists_url":"https://api.github.com/users/dpisarenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dpisarenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpisarenko/subscriptions","organizations_url":"https://api.github.com/users/dpisarenko/orgs","repos_url":"https://api.github.com/users/dpisarenko/repos","events_url":"https://api.github.com/users/dpisarenko/events{/privacy}","received_events_url":"https://api.github.com/users/dpisarenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dpisarenko/jcabi-github","description":"Object Oriented Wrapper of Github API","fork":true,"url":"https://api.github.com/repos/dpisarenko/jcabi-github","forks_url":"https://api.github.com/repos/dpisarenko/jcabi-github/forks","keys_url":"https://api.github.com/repos/dpisarenko/jcabi-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dpisarenko/jcabi-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dpisarenko/jcabi-github/teams","hooks_url":"https://api.github.com/repos/dpisarenko/jcabi-github/hooks","issue_events_url":"https://api.github.com/repos/dpisarenko/jcabi-github/issues/events{/number}","events_url":"https://api.github.com/repos/dpisarenko/jcabi-github/events","assignees_url":"https://api.github.com/repos/dpisarenko/jcabi-github/assignees{/user}","branches_url":"https://api.github.com/repos/dpisarenko/jcabi-github/branches{/branch}","tags_url":"https://api.github.com/repos/dpisarenko/jcabi-github/tags","blobs_url":"https://api.github.com/repos/dpisarenko/jcabi-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dpisarenko/jcabi-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dpisarenko/jcabi-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/dpisarenko/jcabi-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dpisarenko/jcabi-github/statuses/{sha}","languages_url":"https://api.github.com/repos/dpisarenko/jcabi-github/languages","stargazers_url":"https://api.github.com/repos/dpisarenko/jcabi-github/stargazers","contributors_url":"https://api.github.com/repos/dpisarenko/jcabi-github/contributors","subscribers_url":"https://api.github.com/repos/dpisarenko/jcabi-github/subscribers","subscription_url":"https://api.github.com/repos/dpisarenko/jcabi-github/subscription","commits_url":"https://api.github.com/repos/dpisarenko/jcabi-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/dpisarenko/jcabi-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/dpisarenko/jcabi-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/dpisarenko/jcabi-github/issues/comments/{number}","contents_url":"https://api.github.com/repos/dpisarenko/jcabi-github/contents/{+path}","compare_url":"https://api.github.com/repos/dpisarenko/jcabi-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dpisarenko/jcabi-github/merges","archive_url":"https://api.github.com/repos/dpisarenko/jcabi-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dpisarenko/jcabi-github/downloads","issues_url":"https://api.github.com/repos/dpisarenko/jcabi-github/issues{/number}","pulls_url":"https://api.github.com/repos/dpisarenko/jcabi-github/pulls{/number}","milestones_url":"https://api.github.com/repos/dpisarenko/jcabi-github/milestones{/number}","notifications_url":"https://api.github.com/repos/dpisarenko/jcabi-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dpisarenko/jcabi-github/labels{/name}","releases_url":"https://api.github.com/repos/dpisarenko/jcabi-github/releases{/id}","created_at":"2015-01-14T16:27:19Z","updated_at":"2015-01-14T16:27:21Z","pushed_at":"2015-01-22T10:41:56Z","git_url":"git://github.com/dpisarenko/jcabi-github.git","ssh_url":"git@github.com:dpisarenko/jcabi-github.git","clone_url":"https://github.com/dpisarenko/jcabi-github.git","svn_url":"https://github.com/dpisarenko/jcabi-github","homepage":"github.jcabi.com","size":24468,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jcabi:master","ref":"master","sha":"03f601ddc0a45384dea19f18f35496f772204a4f","user":{"login":"jcabi","id":5272640,"avatar_url":"https://avatars.githubusercontent.com/u/5272640?v=3","gravatar_id":"","url":"https://api.github.com/users/jcabi","html_url":"https://github.com/jcabi","followers_url":"https://api.github.com/users/jcabi/followers","following_url":"https://api.github.com/users/jcabi/following{/other_user}","gists_url":"https://api.github.com/users/jcabi/gists{/gist_id}","starred_url":"https://api.github.com/users/jcabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcabi/subscriptions","organizations_url":"https://api.github.com/users/jcabi/orgs","repos_url":"https://api.github.com/users/jcabi/repos","events_url":"https://api.github.com/users/jcabi/events{/privacy}","received_events_url":"https://api.github.com/users/jcabi/received_events","type":"Organization","site_admin":false},"repo":{"id":14204295,"name":"jcabi-github","full_name":"jcabi/jcabi-github","owner":{"login":"jcabi","id":5272640,"avatar_url":"https://avatars.githubusercontent.com/u/5272640?v=3","gravatar_id":"","url":"https://api.github.com/users/jcabi","html_url":"https://github.com/jcabi","followers_url":"https://api.github.com/users/jcabi/followers","following_url":"https://api.github.com/users/jcabi/following{/other_user}","gists_url":"https://api.github.com/users/jcabi/gists{/gist_id}","starred_url":"https://api.github.com/users/jcabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcabi/subscriptions","organizations_url":"https://api.github.com/users/jcabi/orgs","repos_url":"https://api.github.com/users/jcabi/repos","events_url":"https://api.github.com/users/jcabi/events{/privacy}","received_events_url":"https://api.github.com/users/jcabi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jcabi/jcabi-github","description":"Object Oriented Wrapper of Github API","fork":false,"url":"https://api.github.com/repos/jcabi/jcabi-github","forks_url":"https://api.github.com/repos/jcabi/jcabi-github/forks","keys_url":"https://api.github.com/repos/jcabi/jcabi-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcabi/jcabi-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcabi/jcabi-github/teams","hooks_url":"https://api.github.com/repos/jcabi/jcabi-github/hooks","issue_events_url":"https://api.github.com/repos/jcabi/jcabi-github/issues/events{/number}","events_url":"https://api.github.com/repos/jcabi/jcabi-github/events","assignees_url":"https://api.github.com/repos/jcabi/jcabi-github/assignees{/user}","branches_url":"https://api.github.com/repos/jcabi/jcabi-github/branches{/branch}","tags_url":"https://api.github.com/repos/jcabi/jcabi-github/tags","blobs_url":"https://api.github.com/repos/jcabi/jcabi-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcabi/jcabi-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcabi/jcabi-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcabi/jcabi-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcabi/jcabi-github/statuses/{sha}","languages_url":"https://api.github.com/repos/jcabi/jcabi-github/languages","stargazers_url":"https://api.github.com/repos/jcabi/jcabi-github/stargazers","contributors_url":"https://api.github.com/repos/jcabi/jcabi-github/contributors","subscribers_url":"https://api.github.com/repos/jcabi/jcabi-github/subscribers","subscription_url":"https://api.github.com/repos/jcabi/jcabi-github/subscription","commits_url":"https://api.github.com/repos/jcabi/jcabi-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcabi/jcabi-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcabi/jcabi-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcabi/jcabi-github/issues/comments/{number}","contents_url":"https://api.github.com/repos/jcabi/jcabi-github/contents/{+path}","compare_url":"https://api.github.com/repos/jcabi/jcabi-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcabi/jcabi-github/merges","archive_url":"https://api.github.com/repos/jcabi/jcabi-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcabi/jcabi-github/downloads","issues_url":"https://api.github.com/repos/jcabi/jcabi-github/issues{/number}","pulls_url":"https://api.github.com/repos/jcabi/jcabi-github/pulls{/number}","milestones_url":"https://api.github.com/repos/jcabi/jcabi-github/milestones{/number}","notifications_url":"https://api.github.com/repos/jcabi/jcabi-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcabi/jcabi-github/labels{/name}","releases_url":"https://api.github.com/repos/jcabi/jcabi-github/releases{/id}","created_at":"2013-11-07T13:23:16Z","updated_at":"2015-01-20T10:19:17Z","pushed_at":"2015-01-20T10:19:17Z","git_url":"git://github.com/jcabi/jcabi-github.git","ssh_url":"git@github.com:jcabi/jcabi-github.git","clone_url":"https://github.com/jcabi/jcabi-github.git","svn_url":"https://github.com/jcabi/jcabi-github","homepage":"github.jcabi.com","size":30030,"stargazers_count":53,"watchers_count":53,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":54,"mirror_url":null,"open_issues_count":25,"forks":54,"open_issues":25,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jcabi/jcabi-github/pulls/985"},"html":{"href":"https://github.com/jcabi/jcabi-github/pull/985"},"issue":{"href":"https://api.github.com/repos/jcabi/jcabi-github/issues/985"},"comments":{"href":"https://api.github.com/repos/jcabi/jcabi-github/issues/985/comments"},"review_comments":{"href":"https://api.github.com/repos/jcabi/jcabi-github/pulls/985/comments"},"review_comment":{"href":"https://api.github.com/repos/jcabi/jcabi-github/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jcabi/jcabi-github/pulls/985/commits"},"statuses":{"href":"https://api.github.com/repos/jcabi/jcabi-github/statuses/5763b4dc8bd3a6cb34d230974c43834f5f2f5046"}}}}