{"action":"created","comment":{"url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/comments/88166331","pull_request_review_id":8587146,"id":88166331,"diff_hunk":"@@ -0,0 +1,44 @@\n+﻿using System;\n+using System.Collections.Generic;\n+using System.Net;\n+using System.Web.Http;\n+\n+using NuClear.ValidationRules.Querying.Host.DataAccess;\n+using NuClear.ValidationRules.Querying.Host.Serialization;\n+\n+namespace NuClear.ValidationRules.Querying.Host.Controllers\n+{\n+    public class ManualController : ApiController\n+    {\n+        private readonly MessageRepositiory _repositiory;\n+        private readonly MessageSerializer _serializer;\n+\n+        public ManualController(MessageRepositiory repositiory, MessageSerializer serializer)\n+        {\n+            _repositiory = repositiory;\n+            _serializer = serializer;\n+        }\n+\n+        // POST: api/Manual\n+        public IReadOnlyCollection<Model.ValidationResult> Post([FromBody]ApiRequest request)\n+        {\n+            long versionId;\n+            if (!_repositiory.TryGetVersion(request.State, out versionId))\n+            {\n+                throw new HttpResponseException(HttpStatusCode.NotFound);","path":"ValidationRules.Querying.Host/Controllers/ManualController.cs","position":null,"original_position":28,"commit_id":"7bee491df98793c1ff7ec505f1f12ba11d8beb73","original_commit_id":"04d8b3609d25486914c153a8331b93e2522c0107","user":{"login":"rechkalov","id":1055095,"avatar_url":"https://avatars.githubusercontent.com/u/1055095?v=3","gravatar_id":"","url":"https://api.github.com/users/rechkalov","html_url":"https://github.com/rechkalov","followers_url":"https://api.github.com/users/rechkalov/followers","following_url":"https://api.github.com/users/rechkalov/following{/other_user}","gists_url":"https://api.github.com/users/rechkalov/gists{/gist_id}","starred_url":"https://api.github.com/users/rechkalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rechkalov/subscriptions","organizations_url":"https://api.github.com/users/rechkalov/orgs","repos_url":"https://api.github.com/users/rechkalov/repos","events_url":"https://api.github.com/users/rechkalov/events{/privacy}","received_events_url":"https://api.github.com/users/rechkalov/received_events","type":"User","site_admin":false},"body":"Договорились вынести токен в uri","created_at":"2016-11-16T04:22:59Z","updated_at":"2016-11-16T04:37:14Z","html_url":"https://github.com/2gis/nuclear-river-validation-rules/pull/57#discussion_r88166331","pull_request_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/comments/88166331"},"html":{"href":"https://github.com/2gis/nuclear-river-validation-rules/pull/57#discussion_r88166331"},"pull_request":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/57","id":93320647,"html_url":"https://github.com/2gis/nuclear-river-validation-rules/pull/57","diff_url":"https://github.com/2gis/nuclear-river-validation-rules/pull/57.diff","patch_url":"https://github.com/2gis/nuclear-river-validation-rules/pull/57.patch","issue_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/57","number":57,"state":"open","locked":false,"title":"Добавил Querying API Host","user":{"login":"rechkalov","id":1055095,"avatar_url":"https://avatars.githubusercontent.com/u/1055095?v=3","gravatar_id":"","url":"https://api.github.com/users/rechkalov","html_url":"https://github.com/rechkalov","followers_url":"https://api.github.com/users/rechkalov/followers","following_url":"https://api.github.com/users/rechkalov/following{/other_user}","gists_url":"https://api.github.com/users/rechkalov/gists{/gist_id}","starred_url":"https://api.github.com/users/rechkalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rechkalov/subscriptions","organizations_url":"https://api.github.com/users/rechkalov/orgs","repos_url":"https://api.github.com/users/rechkalov/repos","events_url":"https://api.github.com/users/rechkalov/events{/privacy}","received_events_url":"https://api.github.com/users/rechkalov/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-11T11:53:19Z","updated_at":"2016-11-16T04:37:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cfd94ac21ee5bf6a8e6adf9e70ac4c4be48b1f2","assignee":{"login":"maximpashuk","id":5028850,"avatar_url":"https://avatars.githubusercontent.com/u/5028850?v=3","gravatar_id":"","url":"https://api.github.com/users/maximpashuk","html_url":"https://github.com/maximpashuk","followers_url":"https://api.github.com/users/maximpashuk/followers","following_url":"https://api.github.com/users/maximpashuk/following{/other_user}","gists_url":"https://api.github.com/users/maximpashuk/gists{/gist_id}","starred_url":"https://api.github.com/users/maximpashuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximpashuk/subscriptions","organizations_url":"https://api.github.com/users/maximpashuk/orgs","repos_url":"https://api.github.com/users/maximpashuk/repos","events_url":"https://api.github.com/users/maximpashuk/events{/privacy}","received_events_url":"https://api.github.com/users/maximpashuk/received_events","type":"User","site_admin":false},"assignees":[{"login":"maximpashuk","id":5028850,"avatar_url":"https://avatars.githubusercontent.com/u/5028850?v=3","gravatar_id":"","url":"https://api.github.com/users/maximpashuk","html_url":"https://github.com/maximpashuk","followers_url":"https://api.github.com/users/maximpashuk/followers","following_url":"https://api.github.com/users/maximpashuk/following{/other_user}","gists_url":"https://api.github.com/users/maximpashuk/gists{/gist_id}","starred_url":"https://api.github.com/users/maximpashuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximpashuk/subscriptions","organizations_url":"https://api.github.com/users/maximpashuk/orgs","repos_url":"https://api.github.com/users/maximpashuk/repos","events_url":"https://api.github.com/users/maximpashuk/events{/privacy}","received_events_url":"https://api.github.com/users/maximpashuk/received_events","type":"User","site_admin":false},{"login":"denisivan0v","id":5635171,"avatar_url":"https://avatars.githubusercontent.com/u/5635171?v=3","gravatar_id":"","url":"https://api.github.com/users/denisivan0v","html_url":"https://github.com/denisivan0v","followers_url":"https://api.github.com/users/denisivan0v/followers","following_url":"https://api.github.com/users/denisivan0v/following{/other_user}","gists_url":"https://api.github.com/users/denisivan0v/gists{/gist_id}","starred_url":"https://api.github.com/users/denisivan0v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisivan0v/subscriptions","organizations_url":"https://api.github.com/users/denisivan0v/orgs","repos_url":"https://api.github.com/users/denisivan0v/repos","events_url":"https://api.github.com/users/denisivan0v/events{/privacy}","received_events_url":"https://api.github.com/users/denisivan0v/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/57/commits","review_comments_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/57/comments","review_comment_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/comments{/number}","comments_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/57/comments","statuses_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/statuses/7bee491df98793c1ff7ec505f1f12ba11d8beb73","head":{"label":"2gis:feature/querying-clean","ref":"feature/querying-clean","sha":"7bee491df98793c1ff7ec505f1f12ba11d8beb73","user":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"repo":{"id":64453049,"name":"nuclear-river-validation-rules","full_name":"2gis/nuclear-river-validation-rules","owner":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2gis/nuclear-river-validation-rules","description":null,"fork":false,"url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules","forks_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/forks","keys_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/teams","hooks_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/hooks","issue_events_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/events","assignees_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/tags","blobs_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/languages","stargazers_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/stargazers","contributors_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/contributors","subscribers_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/subscribers","subscription_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/subscription","commits_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/comments{/number}","contents_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/merges","archive_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/downloads","issues_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/labels{/name}","releases_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/releases{/id}","deployments_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/deployments","created_at":"2016-07-29T05:30:04Z","updated_at":"2016-10-26T11:00:03Z","pushed_at":"2016-11-16T04:30:35Z","git_url":"git://github.com/2gis/nuclear-river-validation-rules.git","ssh_url":"git@github.com:2gis/nuclear-river-validation-rules.git","clone_url":"https://github.com/2gis/nuclear-river-validation-rules.git","svn_url":"https://github.com/2gis/nuclear-river-validation-rules","homepage":null,"size":16400,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":0,"default_branch":"master"}},"base":{"label":"2gis:master","ref":"master","sha":"0c106d0c13098c660237456faf86ba619bb3a20b","user":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"repo":{"id":64453049,"name":"nuclear-river-validation-rules","full_name":"2gis/nuclear-river-validation-rules","owner":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2gis/nuclear-river-validation-rules","description":null,"fork":false,"url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules","forks_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/forks","keys_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/teams","hooks_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/hooks","issue_events_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/events","assignees_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/tags","blobs_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/languages","stargazers_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/stargazers","contributors_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/contributors","subscribers_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/subscribers","subscription_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/subscription","commits_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/comments{/number}","contents_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/merges","archive_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/downloads","issues_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/labels{/name}","releases_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/releases{/id}","deployments_url":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/deployments","created_at":"2016-07-29T05:30:04Z","updated_at":"2016-10-26T11:00:03Z","pushed_at":"2016-11-16T04:30:35Z","git_url":"git://github.com/2gis/nuclear-river-validation-rules.git","ssh_url":"git@github.com:2gis/nuclear-river-validation-rules.git","clone_url":"https://github.com/2gis/nuclear-river-validation-rules.git","svn_url":"https://github.com/2gis/nuclear-river-validation-rules","homepage":null,"size":16400,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/57"},"html":{"href":"https://github.com/2gis/nuclear-river-validation-rules/pull/57"},"issue":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/57"},"comments":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/2gis/nuclear-river-validation-rules/statuses/7bee491df98793c1ff7ec505f1f12ba11d8beb73"}}}}
{"actor":{"display_login":"rechkalov"}}