{"action":"created","comment":{"url":"https://api.github.com/repos/broadinstitute/agora/pulls/comments/38781100","id":38781100,"diff_hunk":"@@ -285,6 +318,38 @@ paths:\n           description: Unexpected error\n           schema:\n             $ref: '#/definitions/Error'\n+    delete:\n+      summary: Redact a single configuration.\n+      description: |\n+        Redacts a configuration and all of its associated configurations\n+      parameters:\n+        - name: namespace\n+          in: path\n+          description: Namespace of config.\n+          required: true\n+          type: string\n+        - name: name\n+          in: path\n+          description: Name of config.\n+          required: true\n+          type: string\n+        - name: snapshotId\n+          in: path\n+          description: Snapshot ID of config.\n+          required: true\n+          type: number\n+      tags:\n+        - Configurations\n+      responses:\n+        200:\n+          description: |\n+            An integer showing how many configurations were deleted. Should be 1.\n+          schema:\n+            type: number\n+        default:\n+          description: Error upon redaction\n+          schema:\n+            $ref: '#/definitions/Error'\n   /methods/{namespace}/permissions:","path":"src/main/resources/swagger/agora.yaml","position":92,"original_position":92,"commit_id":"973ac63dc6b940f9471b1057152780af6221b4f3","original_commit_id":"973ac63dc6b940f9471b1057152780af6221b4f3","user":{"login":"bradtaylor","id":3492466,"avatar_url":"https://avatars.githubusercontent.com/u/3492466?v=3","gravatar_id":"","url":"https://api.github.com/users/bradtaylor","html_url":"https://github.com/bradtaylor","followers_url":"https://api.github.com/users/bradtaylor/followers","following_url":"https://api.github.com/users/bradtaylor/following{/other_user}","gists_url":"https://api.github.com/users/bradtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/bradtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradtaylor/subscriptions","organizations_url":"https://api.github.com/users/bradtaylor/orgs","repos_url":"https://api.github.com/users/bradtaylor/repos","events_url":"https://api.github.com/users/bradtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/bradtaylor/received_events","type":"User","site_admin":false},"body":"All of the permissions methods are tagged as NamespacePermissions and Permissions respectively. So everything for /methods and /configurations end up in the same frame. Do you like this distinction? If it were me I might tag everything Methods or Configurations. So then things would be grouped by what kind of entity they refer to. Up to you","created_at":"2015-09-04T18:33:00Z","updated_at":"2015-09-04T18:33:00Z","html_url":"https://github.com/broadinstitute/agora/pull/114#discussion_r38781100","pull_request_url":"https://api.github.com/repos/broadinstitute/agora/pulls/114","_links":{"self":{"href":"https://api.github.com/repos/broadinstitute/agora/pulls/comments/38781100"},"html":{"href":"https://github.com/broadinstitute/agora/pull/114#discussion_r38781100"},"pull_request":{"href":"https://api.github.com/repos/broadinstitute/agora/pulls/114"}}},"pull_request":{"url":"https://api.github.com/repos/broadinstitute/agora/pulls/114","id":44137379,"html_url":"https://github.com/broadinstitute/agora/pull/114","diff_url":"https://github.com/broadinstitute/agora/pull/114.diff","patch_url":"https://github.com/broadinstitute/agora/pull/114.patch","issue_url":"https://api.github.com/repos/broadinstitute/agora/issues/114","number":114,"state":"open","locked":false,"title":"added swagger endpoint for method redact","user":{"login":"vivster7","id":1903527,"avatar_url":"https://avatars.githubusercontent.com/u/1903527?v=3","gravatar_id":"","url":"https://api.github.com/users/vivster7","html_url":"https://github.com/vivster7","followers_url":"https://api.github.com/users/vivster7/followers","following_url":"https://api.github.com/users/vivster7/following{/other_user}","gists_url":"https://api.github.com/users/vivster7/gists{/gist_id}","starred_url":"https://api.github.com/users/vivster7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivster7/subscriptions","organizations_url":"https://api.github.com/users/vivster7/orgs","repos_url":"https://api.github.com/users/vivster7/repos","events_url":"https://api.github.com/users/vivster7/events{/privacy}","received_events_url":"https://api.github.com/users/vivster7/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-03T17:57:34Z","updated_at":"2015-09-04T18:33:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"639a4d1b0e5bc8a78bc71d3da5179c972c427883","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/broadinstitute/agora/pulls/114/commits","review_comments_url":"https://api.github.com/repos/broadinstitute/agora/pulls/114/comments","review_comment_url":"https://api.github.com/repos/broadinstitute/agora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/broadinstitute/agora/issues/114/comments","statuses_url":"https://api.github.com/repos/broadinstitute/agora/statuses/973ac63dc6b940f9471b1057152780af6221b4f3","head":{"label":"broadinstitute:vd_swagger_redact","ref":"vd_swagger_redact","sha":"973ac63dc6b940f9471b1057152780af6221b4f3","user":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"repo":{"id":34753721,"name":"agora","full_name":"broadinstitute/agora","owner":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/broadinstitute/agora","description":"It's a methods repository!","fork":false,"url":"https://api.github.com/repos/broadinstitute/agora","forks_url":"https://api.github.com/repos/broadinstitute/agora/forks","keys_url":"https://api.github.com/repos/broadinstitute/agora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/broadinstitute/agora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/broadinstitute/agora/teams","hooks_url":"https://api.github.com/repos/broadinstitute/agora/hooks","issue_events_url":"https://api.github.com/repos/broadinstitute/agora/issues/events{/number}","events_url":"https://api.github.com/repos/broadinstitute/agora/events","assignees_url":"https://api.github.com/repos/broadinstitute/agora/assignees{/user}","branches_url":"https://api.github.com/repos/broadinstitute/agora/branches{/branch}","tags_url":"https://api.github.com/repos/broadinstitute/agora/tags","blobs_url":"https://api.github.com/repos/broadinstitute/agora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/broadinstitute/agora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/broadinstitute/agora/git/refs{/sha}","trees_url":"https://api.github.com/repos/broadinstitute/agora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/broadinstitute/agora/statuses/{sha}","languages_url":"https://api.github.com/repos/broadinstitute/agora/languages","stargazers_url":"https://api.github.com/repos/broadinstitute/agora/stargazers","contributors_url":"https://api.github.com/repos/broadinstitute/agora/contributors","subscribers_url":"https://api.github.com/repos/broadinstitute/agora/subscribers","subscription_url":"https://api.github.com/repos/broadinstitute/agora/subscription","commits_url":"https://api.github.com/repos/broadinstitute/agora/commits{/sha}","git_commits_url":"https://api.github.com/repos/broadinstitute/agora/git/commits{/sha}","comments_url":"https://api.github.com/repos/broadinstitute/agora/comments{/number}","issue_comment_url":"https://api.github.com/repos/broadinstitute/agora/issues/comments{/number}","contents_url":"https://api.github.com/repos/broadinstitute/agora/contents/{+path}","compare_url":"https://api.github.com/repos/broadinstitute/agora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/broadinstitute/agora/merges","archive_url":"https://api.github.com/repos/broadinstitute/agora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/broadinstitute/agora/downloads","issues_url":"https://api.github.com/repos/broadinstitute/agora/issues{/number}","pulls_url":"https://api.github.com/repos/broadinstitute/agora/pulls{/number}","milestones_url":"https://api.github.com/repos/broadinstitute/agora/milestones{/number}","notifications_url":"https://api.github.com/repos/broadinstitute/agora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/broadinstitute/agora/labels{/name}","releases_url":"https://api.github.com/repos/broadinstitute/agora/releases{/id}","created_at":"2015-04-28T20:18:52Z","updated_at":"2015-05-08T19:49:06Z","pushed_at":"2015-09-04T15:44:54Z","git_url":"git://github.com/broadinstitute/agora.git","ssh_url":"git@github.com:broadinstitute/agora.git","clone_url":"https://github.com/broadinstitute/agora.git","svn_url":"https://github.com/broadinstitute/agora","homepage":"","size":9814,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"broadinstitute:master","ref":"master","sha":"583050fc74ddeddf76c52e1db5c7f22622b7e925","user":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"repo":{"id":34753721,"name":"agora","full_name":"broadinstitute/agora","owner":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/broadinstitute/agora","description":"It's a methods repository!","fork":false,"url":"https://api.github.com/repos/broadinstitute/agora","forks_url":"https://api.github.com/repos/broadinstitute/agora/forks","keys_url":"https://api.github.com/repos/broadinstitute/agora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/broadinstitute/agora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/broadinstitute/agora/teams","hooks_url":"https://api.github.com/repos/broadinstitute/agora/hooks","issue_events_url":"https://api.github.com/repos/broadinstitute/agora/issues/events{/number}","events_url":"https://api.github.com/repos/broadinstitute/agora/events","assignees_url":"https://api.github.com/repos/broadinstitute/agora/assignees{/user}","branches_url":"https://api.github.com/repos/broadinstitute/agora/branches{/branch}","tags_url":"https://api.github.com/repos/broadinstitute/agora/tags","blobs_url":"https://api.github.com/repos/broadinstitute/agora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/broadinstitute/agora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/broadinstitute/agora/git/refs{/sha}","trees_url":"https://api.github.com/repos/broadinstitute/agora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/broadinstitute/agora/statuses/{sha}","languages_url":"https://api.github.com/repos/broadinstitute/agora/languages","stargazers_url":"https://api.github.com/repos/broadinstitute/agora/stargazers","contributors_url":"https://api.github.com/repos/broadinstitute/agora/contributors","subscribers_url":"https://api.github.com/repos/broadinstitute/agora/subscribers","subscription_url":"https://api.github.com/repos/broadinstitute/agora/subscription","commits_url":"https://api.github.com/repos/broadinstitute/agora/commits{/sha}","git_commits_url":"https://api.github.com/repos/broadinstitute/agora/git/commits{/sha}","comments_url":"https://api.github.com/repos/broadinstitute/agora/comments{/number}","issue_comment_url":"https://api.github.com/repos/broadinstitute/agora/issues/comments{/number}","contents_url":"https://api.github.com/repos/broadinstitute/agora/contents/{+path}","compare_url":"https://api.github.com/repos/broadinstitute/agora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/broadinstitute/agora/merges","archive_url":"https://api.github.com/repos/broadinstitute/agora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/broadinstitute/agora/downloads","issues_url":"https://api.github.com/repos/broadinstitute/agora/issues{/number}","pulls_url":"https://api.github.com/repos/broadinstitute/agora/pulls{/number}","milestones_url":"https://api.github.com/repos/broadinstitute/agora/milestones{/number}","notifications_url":"https://api.github.com/repos/broadinstitute/agora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/broadinstitute/agora/labels{/name}","releases_url":"https://api.github.com/repos/broadinstitute/agora/releases{/id}","created_at":"2015-04-28T20:18:52Z","updated_at":"2015-05-08T19:49:06Z","pushed_at":"2015-09-04T15:44:54Z","git_url":"git://github.com/broadinstitute/agora.git","ssh_url":"git@github.com:broadinstitute/agora.git","clone_url":"https://github.com/broadinstitute/agora.git","svn_url":"https://github.com/broadinstitute/agora","homepage":"","size":9814,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/broadinstitute/agora/pulls/114"},"html":{"href":"https://github.com/broadinstitute/agora/pull/114"},"issue":{"href":"https://api.github.com/repos/broadinstitute/agora/issues/114"},"comments":{"href":"https://api.github.com/repos/broadinstitute/agora/issues/114/comments"},"review_comments":{"href":"https://api.github.com/repos/broadinstitute/agora/pulls/114/comments"},"review_comment":{"href":"https://api.github.com/repos/broadinstitute/agora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/broadinstitute/agora/pulls/114/commits"},"statuses":{"href":"https://api.github.com/repos/broadinstitute/agora/statuses/973ac63dc6b940f9471b1057152780af6221b4f3"}}}}