{"action":"created","comment":{"url":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls/comments/213996875","pull_request_review_id":150952245,"id":213996875,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzk5Njg3NQ==","diff_hunk":"@@ -0,0 +1,59 @@\n+import { INTERNAL_SERVER_ERROR, OK } from 'http-status-codes';\n+import * as Router from 'koa-router';\n+import { STATES, connection } from 'mongoose';\n+import { IApiResponse } from '../../models';\n+import { AssignmentsModel, IAssignmentsModel } from '../../models/assignments';\n+\n+export function tasksRouter() {\n+    const router = new Router({ prefix: '/student-tasks' });","path":"app/routes/assignments/index.ts","position":8,"original_position":8,"commit_id":"4761f658786d442630f040766ee77d2d50d01f69","original_commit_id":"4761f658786d442630f040766ee77d2d50d01f69","user":{"login":"mrsDandelion","id":31157541,"node_id":"MDQ6VXNlcjMxMTU3NTQx","avatar_url":"https://avatars1.githubusercontent.com/u/31157541?v=4","gravatar_id":"","url":"https://api.github.com/users/mrsDandelion","html_url":"https://github.com/mrsDandelion","followers_url":"https://api.github.com/users/mrsDandelion/followers","following_url":"https://api.github.com/users/mrsDandelion/following{/other_user}","gists_url":"https://api.github.com/users/mrsDandelion/gists{/gist_id}","starred_url":"https://api.github.com/users/mrsDandelion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrsDandelion/subscriptions","organizations_url":"https://api.github.com/users/mrsDandelion/orgs","repos_url":"https://api.github.com/users/mrsDandelion/repos","events_url":"https://api.github.com/users/mrsDandelion/events{/privacy}","received_events_url":"https://api.github.com/users/mrsDandelion/received_events","type":"User","site_admin":false},"body":"ОК","created_at":"2018-08-30T11:38:41Z","updated_at":"2018-08-30T11:38:41Z","html_url":"https://github.com/rolling-scopes/rsschool-api/pull/12#discussion_r213996875","pull_request_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls/12","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls/comments/213996875"},"html":{"href":"https://github.com/rolling-scopes/rsschool-api/pull/12#discussion_r213996875"},"pull_request":{"href":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls/12"}},"in_reply_to_id":212431022},"pull_request":{"url":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls/12","id":209614443,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NjE0NDQz","html_url":"https://github.com/rolling-scopes/rsschool-api/pull/12","diff_url":"https://github.com/rolling-scopes/rsschool-api/pull/12.diff","patch_url":"https://github.com/rolling-scopes/rsschool-api/pull/12.patch","issue_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/issues/12","number":12,"state":"open","locked":false,"title":"Tasks Stage1","user":{"login":"mrsDandelion","id":31157541,"node_id":"MDQ6VXNlcjMxMTU3NTQx","avatar_url":"https://avatars1.githubusercontent.com/u/31157541?v=4","gravatar_id":"","url":"https://api.github.com/users/mrsDandelion","html_url":"https://github.com/mrsDandelion","followers_url":"https://api.github.com/users/mrsDandelion/followers","following_url":"https://api.github.com/users/mrsDandelion/following{/other_user}","gists_url":"https://api.github.com/users/mrsDandelion/gists{/gist_id}","starred_url":"https://api.github.com/users/mrsDandelion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrsDandelion/subscriptions","organizations_url":"https://api.github.com/users/mrsDandelion/orgs","repos_url":"https://api.github.com/users/mrsDandelion/repos","events_url":"https://api.github.com/users/mrsDandelion/events{/privacy}","received_events_url":"https://api.github.com/users/mrsDandelion/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-20T19:06:55Z","updated_at":"2018-08-30T11:38:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8998f69263a85ce4d325fd4425eea9c5d59de9be","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls/12/commits","review_comments_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls/12/comments","review_comment_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/issues/12/comments","statuses_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/statuses/4761f658786d442630f040766ee77d2d50d01f69","head":{"label":"mrsDandelion:appRolling","ref":"appRolling","sha":"4761f658786d442630f040766ee77d2d50d01f69","user":{"login":"mrsDandelion","id":31157541,"node_id":"MDQ6VXNlcjMxMTU3NTQx","avatar_url":"https://avatars1.githubusercontent.com/u/31157541?v=4","gravatar_id":"","url":"https://api.github.com/users/mrsDandelion","html_url":"https://github.com/mrsDandelion","followers_url":"https://api.github.com/users/mrsDandelion/followers","following_url":"https://api.github.com/users/mrsDandelion/following{/other_user}","gists_url":"https://api.github.com/users/mrsDandelion/gists{/gist_id}","starred_url":"https://api.github.com/users/mrsDandelion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrsDandelion/subscriptions","organizations_url":"https://api.github.com/users/mrsDandelion/orgs","repos_url":"https://api.github.com/users/mrsDandelion/repos","events_url":"https://api.github.com/users/mrsDandelion/events{/privacy}","received_events_url":"https://api.github.com/users/mrsDandelion/received_events","type":"User","site_admin":false},"repo":{"id":144174620,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQxNzQ2MjA=","name":"rsschool-api","full_name":"mrsDandelion/rsschool-api","owner":{"login":"mrsDandelion","id":31157541,"node_id":"MDQ6VXNlcjMxMTU3NTQx","avatar_url":"https://avatars1.githubusercontent.com/u/31157541?v=4","gravatar_id":"","url":"https://api.github.com/users/mrsDandelion","html_url":"https://github.com/mrsDandelion","followers_url":"https://api.github.com/users/mrsDandelion/followers","following_url":"https://api.github.com/users/mrsDandelion/following{/other_user}","gists_url":"https://api.github.com/users/mrsDandelion/gists{/gist_id}","starred_url":"https://api.github.com/users/mrsDandelion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrsDandelion/subscriptions","organizations_url":"https://api.github.com/users/mrsDandelion/orgs","repos_url":"https://api.github.com/users/mrsDandelion/repos","events_url":"https://api.github.com/users/mrsDandelion/events{/privacy}","received_events_url":"https://api.github.com/users/mrsDandelion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrsDandelion/rsschool-api","description":null,"fork":true,"url":"https://api.github.com/repos/mrsDandelion/rsschool-api","forks_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/forks","keys_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/teams","hooks_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/hooks","issue_events_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/issues/events{/number}","events_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/events","assignees_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/assignees{/user}","branches_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/branches{/branch}","tags_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/tags","blobs_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/languages","stargazers_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/stargazers","contributors_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/contributors","subscribers_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/subscribers","subscription_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/subscription","commits_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/contents/{+path}","compare_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/merges","archive_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/downloads","issues_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/issues{/number}","pulls_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/labels{/name}","releases_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/releases{/id}","deployments_url":"https://api.github.com/repos/mrsDandelion/rsschool-api/deployments","created_at":"2018-08-09T15:55:38Z","updated_at":"2018-08-09T15:55:40Z","pushed_at":"2018-08-20T18:58:26Z","git_url":"git://github.com/mrsDandelion/rsschool-api.git","ssh_url":"git@github.com:mrsDandelion/rsschool-api.git","clone_url":"https://github.com/mrsDandelion/rsschool-api.git","svn_url":"https://github.com/mrsDandelion/rsschool-api","homepage":null,"size":209,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rolling-scopes:master","ref":"master","sha":"dd20d984dc758080811231b472d14195fbcc66c9","user":{"login":"rolling-scopes","id":6222837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMjI4Mzc=","avatar_url":"https://avatars3.githubusercontent.com/u/6222837?v=4","gravatar_id":"","url":"https://api.github.com/users/rolling-scopes","html_url":"https://github.com/rolling-scopes","followers_url":"https://api.github.com/users/rolling-scopes/followers","following_url":"https://api.github.com/users/rolling-scopes/following{/other_user}","gists_url":"https://api.github.com/users/rolling-scopes/gists{/gist_id}","starred_url":"https://api.github.com/users/rolling-scopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolling-scopes/subscriptions","organizations_url":"https://api.github.com/users/rolling-scopes/orgs","repos_url":"https://api.github.com/users/rolling-scopes/repos","events_url":"https://api.github.com/users/rolling-scopes/events{/privacy}","received_events_url":"https://api.github.com/users/rolling-scopes/received_events","type":"Organization","site_admin":false},"repo":{"id":134417832,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ0MTc4MzI=","name":"rsschool-api","full_name":"rolling-scopes/rsschool-api","owner":{"login":"rolling-scopes","id":6222837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMjI4Mzc=","avatar_url":"https://avatars3.githubusercontent.com/u/6222837?v=4","gravatar_id":"","url":"https://api.github.com/users/rolling-scopes","html_url":"https://github.com/rolling-scopes","followers_url":"https://api.github.com/users/rolling-scopes/followers","following_url":"https://api.github.com/users/rolling-scopes/following{/other_user}","gists_url":"https://api.github.com/users/rolling-scopes/gists{/gist_id}","starred_url":"https://api.github.com/users/rolling-scopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolling-scopes/subscriptions","organizations_url":"https://api.github.com/users/rolling-scopes/orgs","repos_url":"https://api.github.com/users/rolling-scopes/repos","events_url":"https://api.github.com/users/rolling-scopes/events{/privacy}","received_events_url":"https://api.github.com/users/rolling-scopes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rolling-scopes/rsschool-api","description":null,"fork":false,"url":"https://api.github.com/repos/rolling-scopes/rsschool-api","forks_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/forks","keys_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/teams","hooks_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/hooks","issue_events_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/issues/events{/number}","events_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/events","assignees_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/assignees{/user}","branches_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/branches{/branch}","tags_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/tags","blobs_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/statuses/{sha}","languages_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/languages","stargazers_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/stargazers","contributors_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/contributors","subscribers_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/subscribers","subscription_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/subscription","commits_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/contents/{+path}","compare_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/merges","archive_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/downloads","issues_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/issues{/number}","pulls_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls{/number}","milestones_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/milestones{/number}","notifications_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/labels{/name}","releases_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/releases{/id}","deployments_url":"https://api.github.com/repos/rolling-scopes/rsschool-api/deployments","created_at":"2018-05-22T13:18:23Z","updated_at":"2018-08-09T19:34:56Z","pushed_at":"2018-08-30T08:05:47Z","git_url":"git://github.com/rolling-scopes/rsschool-api.git","ssh_url":"git@github.com:rolling-scopes/rsschool-api.git","clone_url":"https://github.com/rolling-scopes/rsschool-api.git","svn_url":"https://github.com/rolling-scopes/rsschool-api","homepage":null,"size":219,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":44,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls/12"},"html":{"href":"https://github.com/rolling-scopes/rsschool-api/pull/12"},"issue":{"href":"https://api.github.com/repos/rolling-scopes/rsschool-api/issues/12"},"comments":{"href":"https://api.github.com/repos/rolling-scopes/rsschool-api/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rolling-scopes/rsschool-api/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/rolling-scopes/rsschool-api/statuses/4761f658786d442630f040766ee77d2d50d01f69"}},"author_association":"NONE"}}
{"actor":{"display_login":"mrsDandelion"}}