{"action":"created","comment":{"url":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls/comments/65841789","id":65841789,"diff_hunk":"@@ -189,6 +188,15 @@ public IActionResult Query(Stage stage)\n             return new JsonResult(searchResult);\r\n         }\r\n \r\n+        [AllowAnonymous]\r\n+        [HttpGet(\"{id:guid}/autocomplete\")]\r\n+        [EnsureStageExists]\r\n+        public IActionResult Autocomplete(Stage stage)\r\n+        {\r\n+            var autocompleteResult = _searchServiceFactory.GetSearchService(stage.Id).Autocomplete(Request.QueryString.Value);\r","path":"src/NuGet.Services.Staging.Manager/Controllers/StageController.cs","position":26,"original_position":26,"commit_id":"49a7c1145f7fb98970835e63b3b3ae9245c05b24","original_commit_id":"49a7c1145f7fb98970835e63b3b3ae9245c05b24","user":{"login":"maartenba","id":485230,"avatar_url":"https://avatars.githubusercontent.com/u/485230?v=3","gravatar_id":"","url":"https://api.github.com/users/maartenba","html_url":"https://github.com/maartenba","followers_url":"https://api.github.com/users/maartenba/followers","following_url":"https://api.github.com/users/maartenba/following{/other_user}","gists_url":"https://api.github.com/users/maartenba/gists{/gist_id}","starred_url":"https://api.github.com/users/maartenba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maartenba/subscriptions","organizations_url":"https://api.github.com/users/maartenba/orgs","repos_url":"https://api.github.com/users/maartenba/repos","events_url":"https://api.github.com/users/maartenba/events{/privacy}","received_events_url":"https://api.github.com/users/maartenba/received_events","type":"User","site_admin":false},"body":"Maybe add a newline before .Autocomplete?","created_at":"2016-06-06T06:34:17Z","updated_at":"2016-06-06T06:34:17Z","html_url":"https://github.com/NuGet/NuGet.Staging/pull/58#discussion_r65841789","pull_request_url":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls/comments/65841789"},"html":{"href":"https://github.com/NuGet/NuGet.Staging/pull/58#discussion_r65841789"},"pull_request":{"href":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls/58","id":72566182,"html_url":"https://github.com/NuGet/NuGet.Staging/pull/58","diff_url":"https://github.com/NuGet/NuGet.Staging/pull/58.diff","patch_url":"https://github.com/NuGet/NuGet.Staging/pull/58.patch","issue_url":"https://api.github.com/repos/NuGet/NuGet.Staging/issues/58","number":58,"state":"open","locked":false,"title":"Autocomplete implementation using the DB +UTs","user":{"login":"skofman1","id":16807822,"avatar_url":"https://avatars.githubusercontent.com/u/16807822?v=3","gravatar_id":"","url":"https://api.github.com/users/skofman1","html_url":"https://github.com/skofman1","followers_url":"https://api.github.com/users/skofman1/followers","following_url":"https://api.github.com/users/skofman1/following{/other_user}","gists_url":"https://api.github.com/users/skofman1/gists{/gist_id}","starred_url":"https://api.github.com/users/skofman1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skofman1/subscriptions","organizations_url":"https://api.github.com/users/skofman1/orgs","repos_url":"https://api.github.com/users/skofman1/repos","events_url":"https://api.github.com/users/skofman1/events{/privacy}","received_events_url":"https://api.github.com/users/skofman1/received_events","type":"User","site_admin":false},"body":"@maartenba , @xavierdecoster ","created_at":"2016-06-03T20:35:54Z","updated_at":"2016-06-06T06:34:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"706f1c9a1b203acd6541a078042f714dcd010737","assignee":{"login":"skofman1","id":16807822,"avatar_url":"https://avatars.githubusercontent.com/u/16807822?v=3","gravatar_id":"","url":"https://api.github.com/users/skofman1","html_url":"https://github.com/skofman1","followers_url":"https://api.github.com/users/skofman1/followers","following_url":"https://api.github.com/users/skofman1/following{/other_user}","gists_url":"https://api.github.com/users/skofman1/gists{/gist_id}","starred_url":"https://api.github.com/users/skofman1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skofman1/subscriptions","organizations_url":"https://api.github.com/users/skofman1/orgs","repos_url":"https://api.github.com/users/skofman1/repos","events_url":"https://api.github.com/users/skofman1/events{/privacy}","received_events_url":"https://api.github.com/users/skofman1/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls/58/commits","review_comments_url":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls/58/comments","review_comment_url":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Staging/issues/58/comments","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Staging/statuses/49a7c1145f7fb98970835e63b3b3ae9245c05b24","head":{"label":"NuGet:autocomplete2","ref":"autocomplete2","sha":"49a7c1145f7fb98970835e63b3b3ae9245c05b24","user":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"repo":{"id":52045499,"name":"NuGet.Staging","full_name":"NuGet/NuGet.Staging","owner":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuGet/NuGet.Staging","description":"A repository for the NuGet staging feature","fork":false,"url":"https://api.github.com/repos/NuGet/NuGet.Staging","forks_url":"https://api.github.com/repos/NuGet/NuGet.Staging/forks","keys_url":"https://api.github.com/repos/NuGet/NuGet.Staging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuGet/NuGet.Staging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuGet/NuGet.Staging/teams","hooks_url":"https://api.github.com/repos/NuGet/NuGet.Staging/hooks","issue_events_url":"https://api.github.com/repos/NuGet/NuGet.Staging/issues/events{/number}","events_url":"https://api.github.com/repos/NuGet/NuGet.Staging/events","assignees_url":"https://api.github.com/repos/NuGet/NuGet.Staging/assignees{/user}","branches_url":"https://api.github.com/repos/NuGet/NuGet.Staging/branches{/branch}","tags_url":"https://api.github.com/repos/NuGet/NuGet.Staging/tags","blobs_url":"https://api.github.com/repos/NuGet/NuGet.Staging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuGet/NuGet.Staging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuGet/NuGet.Staging/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuGet/NuGet.Staging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Staging/statuses/{sha}","languages_url":"https://api.github.com/repos/NuGet/NuGet.Staging/languages","stargazers_url":"https://api.github.com/repos/NuGet/NuGet.Staging/stargazers","contributors_url":"https://api.github.com/repos/NuGet/NuGet.Staging/contributors","subscribers_url":"https://api.github.com/repos/NuGet/NuGet.Staging/subscribers","subscription_url":"https://api.github.com/repos/NuGet/NuGet.Staging/subscription","commits_url":"https://api.github.com/repos/NuGet/NuGet.Staging/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuGet/NuGet.Staging/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Staging/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuGet/NuGet.Staging/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuGet/NuGet.Staging/contents/{+path}","compare_url":"https://api.github.com/repos/NuGet/NuGet.Staging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuGet/NuGet.Staging/merges","archive_url":"https://api.github.com/repos/NuGet/NuGet.Staging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuGet/NuGet.Staging/downloads","issues_url":"https://api.github.com/repos/NuGet/NuGet.Staging/issues{/number}","pulls_url":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls{/number}","milestones_url":"https://api.github.com/repos/NuGet/NuGet.Staging/milestones{/number}","notifications_url":"https://api.github.com/repos/NuGet/NuGet.Staging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuGet/NuGet.Staging/labels{/name}","releases_url":"https://api.github.com/repos/NuGet/NuGet.Staging/releases{/id}","deployments_url":"https://api.github.com/repos/NuGet/NuGet.Staging/deployments","created_at":"2016-02-18T23:06:09Z","updated_at":"2016-05-04T16:39:01Z","pushed_at":"2016-06-03T23:03:43Z","git_url":"git://github.com/NuGet/NuGet.Staging.git","ssh_url":"git@github.com:NuGet/NuGet.Staging.git","clone_url":"https://github.com/NuGet/NuGet.Staging.git","svn_url":"https://github.com/NuGet/NuGet.Staging","homepage":null,"size":574,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"base":{"label":"NuGet:dev","ref":"dev","sha":"d19bfe019063359dc608077000d66043ae6b5d36","user":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"repo":{"id":52045499,"name":"NuGet.Staging","full_name":"NuGet/NuGet.Staging","owner":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuGet/NuGet.Staging","description":"A repository for the NuGet staging feature","fork":false,"url":"https://api.github.com/repos/NuGet/NuGet.Staging","forks_url":"https://api.github.com/repos/NuGet/NuGet.Staging/forks","keys_url":"https://api.github.com/repos/NuGet/NuGet.Staging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuGet/NuGet.Staging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuGet/NuGet.Staging/teams","hooks_url":"https://api.github.com/repos/NuGet/NuGet.Staging/hooks","issue_events_url":"https://api.github.com/repos/NuGet/NuGet.Staging/issues/events{/number}","events_url":"https://api.github.com/repos/NuGet/NuGet.Staging/events","assignees_url":"https://api.github.com/repos/NuGet/NuGet.Staging/assignees{/user}","branches_url":"https://api.github.com/repos/NuGet/NuGet.Staging/branches{/branch}","tags_url":"https://api.github.com/repos/NuGet/NuGet.Staging/tags","blobs_url":"https://api.github.com/repos/NuGet/NuGet.Staging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuGet/NuGet.Staging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuGet/NuGet.Staging/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuGet/NuGet.Staging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Staging/statuses/{sha}","languages_url":"https://api.github.com/repos/NuGet/NuGet.Staging/languages","stargazers_url":"https://api.github.com/repos/NuGet/NuGet.Staging/stargazers","contributors_url":"https://api.github.com/repos/NuGet/NuGet.Staging/contributors","subscribers_url":"https://api.github.com/repos/NuGet/NuGet.Staging/subscribers","subscription_url":"https://api.github.com/repos/NuGet/NuGet.Staging/subscription","commits_url":"https://api.github.com/repos/NuGet/NuGet.Staging/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuGet/NuGet.Staging/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Staging/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuGet/NuGet.Staging/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuGet/NuGet.Staging/contents/{+path}","compare_url":"https://api.github.com/repos/NuGet/NuGet.Staging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuGet/NuGet.Staging/merges","archive_url":"https://api.github.com/repos/NuGet/NuGet.Staging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuGet/NuGet.Staging/downloads","issues_url":"https://api.github.com/repos/NuGet/NuGet.Staging/issues{/number}","pulls_url":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls{/number}","milestones_url":"https://api.github.com/repos/NuGet/NuGet.Staging/milestones{/number}","notifications_url":"https://api.github.com/repos/NuGet/NuGet.Staging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuGet/NuGet.Staging/labels{/name}","releases_url":"https://api.github.com/repos/NuGet/NuGet.Staging/releases{/id}","deployments_url":"https://api.github.com/repos/NuGet/NuGet.Staging/deployments","created_at":"2016-02-18T23:06:09Z","updated_at":"2016-05-04T16:39:01Z","pushed_at":"2016-06-03T23:03:43Z","git_url":"git://github.com/NuGet/NuGet.Staging.git","ssh_url":"git@github.com:NuGet/NuGet.Staging.git","clone_url":"https://github.com/NuGet/NuGet.Staging.git","svn_url":"https://github.com/NuGet/NuGet.Staging","homepage":null,"size":574,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls/58"},"html":{"href":"https://github.com/NuGet/NuGet.Staging/pull/58"},"issue":{"href":"https://api.github.com/repos/NuGet/NuGet.Staging/issues/58"},"comments":{"href":"https://api.github.com/repos/NuGet/NuGet.Staging/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NuGet/NuGet.Staging/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/NuGet/NuGet.Staging/statuses/49a7c1145f7fb98970835e63b3b3ae9245c05b24"}}}}
{"actor":{"display_login":"maartenba"}}