{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/21005","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/21005/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/21005/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/21005/events","html_url":"https://github.com/kubernetes/kubernetes/pull/21005","id":132838861,"number":21005,"title":"Use a different verb for delete collection","user":{"login":"liggitt","id":980082,"avatar_url":"https://avatars.githubusercontent.com/u/980082?v=3","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/S","name":"size/S","color":"77bb00"}],"state":"open","locked":false,"assignee":{"login":"lavalamp","id":647318,"avatar_url":"https://avatars.githubusercontent.com/u/647318?v=3","gravatar_id":"","url":"https://api.github.com/users/lavalamp","html_url":"https://github.com/lavalamp","followers_url":"https://api.github.com/users/lavalamp/followers","following_url":"https://api.github.com/users/lavalamp/following{/other_user}","gists_url":"https://api.github.com/users/lavalamp/gists{/gist_id}","starred_url":"https://api.github.com/users/lavalamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavalamp/subscriptions","organizations_url":"https://api.github.com/users/lavalamp/orgs","repos_url":"https://api.github.com/users/lavalamp/repos","events_url":"https://api.github.com/users/lavalamp/events{/privacy}","received_events_url":"https://api.github.com/users/lavalamp/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-02-10T22:44:20Z","updated_at":"2016-02-10T22:59:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/21005","html_url":"https://github.com/kubernetes/kubernetes/pull/21005","diff_url":"https://github.com/kubernetes/kubernetes/pull/21005.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/21005.patch"},"body":"Congruent with `list` having a separate verb from `get`, deleting an entire collection of objects should have a different verb than `delete`.\r\n\r\nAdded in https://github.com/kubernetes/kubernetes/pull/18290.\r\n\r\nMy strawman is `deleteall`, though I'm open to suggestions."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/182623357","html_url":"https://github.com/kubernetes/kubernetes/pull/21005#issuecomment-182623357","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/21005","id":182623357,"user":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T22:59:18Z","updated_at":"2016-02-10T22:59:18Z","body":"I would avoid `deleteall` and favor `deletecollection` since I can imagine `DeleteOptions` taking a label selector or field selector in the future to scope the set of things it deletes to those that matched."}}