{"action":"created","comment":{"url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls/comments/114189925","pull_request_review_id":35636183,"id":114189925,"diff_hunk":"@@ -34,5 +34,20 @@ public GalleryClient(TestSettings testSettings)\n                 }\n             }\n         }\n+\n+        public async Task UnlistAsync(string id, string version)\n+        {\n+            var url = $\"{_testSettings.GalleryBaseUrl}/api/v2/package/{id}/{version}\";\n+            using (var httpClient = new HttpClient())\n+            using (var request = new HttpRequestMessage(HttpMethod.Delete, url))\n+            {\n+                request.Headers.Add(\"X-NuGet-ApiKey\", _testSettings.ApiKey);","path":"src/NuGet.Services.EndToEnd/Support/Clients/GalleryClient.cs","position":23,"original_position":23,"commit_id":"03f417a3da64efd8a18c8be49a9907893b5aadd7","original_commit_id":"03f417a3da64efd8a18c8be49a9907893b5aadd7","user":{"login":"joelverhagen","id":94054,"avatar_url":"https://avatars3.githubusercontent.com/u/94054?v=3","gravatar_id":"","url":"https://api.github.com/users/joelverhagen","html_url":"https://github.com/joelverhagen","followers_url":"https://api.github.com/users/joelverhagen/followers","following_url":"https://api.github.com/users/joelverhagen/following{/other_user}","gists_url":"https://api.github.com/users/joelverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/joelverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelverhagen/subscriptions","organizations_url":"https://api.github.com/users/joelverhagen/orgs","repos_url":"https://api.github.com/users/joelverhagen/repos","events_url":"https://api.github.com/users/joelverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/joelverhagen/received_events","type":"User","site_admin":false},"body":"Good idea, thanks.","created_at":"2017-05-01T20:02:58Z","updated_at":"2017-05-01T20:02:58Z","html_url":"https://github.com/NuGet/NuGet.Services.EndToEnd/pull/7#discussion_r114189925","pull_request_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls/comments/114189925"},"html":{"href":"https://github.com/NuGet/NuGet.Services.EndToEnd/pull/7#discussion_r114189925"},"pull_request":{"href":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls/7","id":118400833,"html_url":"https://github.com/NuGet/NuGet.Services.EndToEnd/pull/7","diff_url":"https://github.com/NuGet/NuGet.Services.EndToEnd/pull/7.diff","patch_url":"https://github.com/NuGet/NuGet.Services.EndToEnd/pull/7.patch","issue_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/issues/7","number":7,"state":"open","locked":false,"title":"Add end-to-end test to verify unlisted packages in registration and search","user":{"login":"joelverhagen","id":94054,"avatar_url":"https://avatars3.githubusercontent.com/u/94054?v=3","gravatar_id":"","url":"https://api.github.com/users/joelverhagen","html_url":"https://github.com/joelverhagen","followers_url":"https://api.github.com/users/joelverhagen/followers","following_url":"https://api.github.com/users/joelverhagen/following{/other_user}","gists_url":"https://api.github.com/users/joelverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/joelverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelverhagen/subscriptions","organizations_url":"https://api.github.com/users/joelverhagen/orgs","repos_url":"https://api.github.com/users/joelverhagen/repos","events_url":"https://api.github.com/users/joelverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/joelverhagen/received_events","type":"User","site_admin":false},"body":"Progress on https://github.com/NuGet/NuGetGallery/issues/3786.","created_at":"2017-05-01T16:53:06Z","updated_at":"2017-05-01T20:02:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b082bad317bde142185c1738848c584f2bdedef","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls/7/commits","review_comments_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls/7/comments","review_comment_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/issues/7/comments","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/statuses/03f417a3da64efd8a18c8be49a9907893b5aadd7","head":{"label":"joelverhagen:unlist","ref":"unlist","sha":"03f417a3da64efd8a18c8be49a9907893b5aadd7","user":{"login":"joelverhagen","id":94054,"avatar_url":"https://avatars3.githubusercontent.com/u/94054?v=3","gravatar_id":"","url":"https://api.github.com/users/joelverhagen","html_url":"https://github.com/joelverhagen","followers_url":"https://api.github.com/users/joelverhagen/followers","following_url":"https://api.github.com/users/joelverhagen/following{/other_user}","gists_url":"https://api.github.com/users/joelverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/joelverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelverhagen/subscriptions","organizations_url":"https://api.github.com/users/joelverhagen/orgs","repos_url":"https://api.github.com/users/joelverhagen/repos","events_url":"https://api.github.com/users/joelverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/joelverhagen/received_events","type":"User","site_admin":false},"repo":{"id":88659704,"name":"NuGet.Services.EndToEnd","full_name":"joelverhagen/NuGet.Services.EndToEnd","owner":{"login":"joelverhagen","id":94054,"avatar_url":"https://avatars3.githubusercontent.com/u/94054?v=3","gravatar_id":"","url":"https://api.github.com/users/joelverhagen","html_url":"https://github.com/joelverhagen","followers_url":"https://api.github.com/users/joelverhagen/followers","following_url":"https://api.github.com/users/joelverhagen/following{/other_user}","gists_url":"https://api.github.com/users/joelverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/joelverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelverhagen/subscriptions","organizations_url":"https://api.github.com/users/joelverhagen/orgs","repos_url":"https://api.github.com/users/joelverhagen/repos","events_url":"https://api.github.com/users/joelverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/joelverhagen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joelverhagen/NuGet.Services.EndToEnd","description":null,"fork":true,"url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd","forks_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/forks","keys_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/teams","hooks_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/hooks","issue_events_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/issues/events{/number}","events_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/events","assignees_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/assignees{/user}","branches_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/branches{/branch}","tags_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/tags","blobs_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/git/refs{/sha}","trees_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/statuses/{sha}","languages_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/languages","stargazers_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/stargazers","contributors_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/contributors","subscribers_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/subscribers","subscription_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/subscription","commits_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/commits{/sha}","git_commits_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/git/commits{/sha}","comments_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/comments{/number}","issue_comment_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/issues/comments{/number}","contents_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/contents/{+path}","compare_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/merges","archive_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/downloads","issues_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/issues{/number}","pulls_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/pulls{/number}","milestones_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/milestones{/number}","notifications_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/labels{/name}","releases_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/releases{/id}","deployments_url":"https://api.github.com/repos/joelverhagen/NuGet.Services.EndToEnd/deployments","created_at":"2017-04-18T18:53:40Z","updated_at":"2017-04-18T19:01:22Z","pushed_at":"2017-05-01T16:50:36Z","git_url":"git://github.com/joelverhagen/NuGet.Services.EndToEnd.git","ssh_url":"git@github.com:joelverhagen/NuGet.Services.EndToEnd.git","clone_url":"https://github.com/joelverhagen/NuGet.Services.EndToEnd.git","svn_url":"https://github.com/joelverhagen/NuGet.Services.EndToEnd","homepage":null,"size":72,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"NuGet:dev","ref":"dev","sha":"d7a7925573b9452317768b90b220564924004743","user":{"login":"NuGet","id":968310,"avatar_url":"https://avatars1.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":88656118,"name":"NuGet.Services.EndToEnd","full_name":"NuGet/NuGet.Services.EndToEnd","owner":{"login":"NuGet","id":968310,"avatar_url":"https://avatars1.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.Services.EndToEnd","description":null,"fork":false,"url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd","forks_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/forks","keys_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/teams","hooks_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/hooks","issue_events_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/issues/events{/number}","events_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/events","assignees_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/assignees{/user}","branches_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/branches{/branch}","tags_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/tags","blobs_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/statuses/{sha}","languages_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/languages","stargazers_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/stargazers","contributors_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/contributors","subscribers_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/subscribers","subscription_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/subscription","commits_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/contents/{+path}","compare_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/merges","archive_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/downloads","issues_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/issues{/number}","pulls_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls{/number}","milestones_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/milestones{/number}","notifications_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/labels{/name}","releases_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/releases{/id}","deployments_url":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/deployments","created_at":"2017-04-18T18:13:15Z","updated_at":"2017-04-25T22:09:55Z","pushed_at":"2017-05-01T16:53:06Z","git_url":"git://github.com/NuGet/NuGet.Services.EndToEnd.git","ssh_url":"git@github.com:NuGet/NuGet.Services.EndToEnd.git","clone_url":"https://github.com/NuGet/NuGet.Services.EndToEnd.git","svn_url":"https://github.com/NuGet/NuGet.Services.EndToEnd","homepage":null,"size":79,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls/7"},"html":{"href":"https://github.com/NuGet/NuGet.Services.EndToEnd/pull/7"},"issue":{"href":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/issues/7"},"comments":{"href":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/NuGet/NuGet.Services.EndToEnd/statuses/03f417a3da64efd8a18c8be49a9907893b5aadd7"}}}}
{"actor":{"display_login":"joelverhagen"}}