{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/20829","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/20829/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/20829/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/20829/events","html_url":"https://github.com/kubernetes/kubernetes/pull/20829","id":132221663,"number":20829,"title":"Union rest mapper","user":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/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/needs-rebase","name":"needs-rebase","color":"BDBDBD"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XL","name":"size/XL","color":"ee5500"}],"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":11,"created_at":"2016-02-08T18:25:28Z","updated_at":"2016-02-14T00:11:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/20829","html_url":"https://github.com/kubernetes/kubernetes/pull/20829","diff_url":"https://github.com/kubernetes/kubernetes/pull/20829.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/20829.patch"},"body":"Includes https://github.com/kubernetes/kubernetes/pull/20814.\r\n\r\nThis allows a proper combination of `RESTMappers` so that all responses are proper unions of all constituent `RESTMappers` instead of \"first hit wins\".  This makes combination `RESTMappers` easier to put together.\r\n\r\nIf we still want FirstOneWins RESTMappers, I'm willing to refactor this into a separate struct.  I can see valid cases for the other way, but this is what we've wanted by default downstream."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/183778121","html_url":"https://github.com/kubernetes/kubernetes/pull/20829#issuecomment-183778121","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/20829","id":183778121,"user":{"login":"k8s-merge-robot","id":13653959,"avatar_url":"https://avatars.githubusercontent.com/u/13653959?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-merge-robot","html_url":"https://github.com/k8s-merge-robot","followers_url":"https://api.github.com/users/k8s-merge-robot/followers","following_url":"https://api.github.com/users/k8s-merge-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-merge-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-merge-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-merge-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-merge-robot/orgs","repos_url":"https://api.github.com/users/k8s-merge-robot/repos","events_url":"https://api.github.com/users/k8s-merge-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-merge-robot/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T00:11:26Z","updated_at":"2016-02-14T00:11:26Z","body":"PR needs rebase"}}