{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/38773128","id":38773128,"diff_hunk":"@@ -24,63 +24,144 @@ import (\n \n \t\"k8s.io/kubernetes/pkg/api/latest\"\n \t\"k8s.io/kubernetes/pkg/api/meta\"\n+\tapiutil \"k8s.io/kubernetes/pkg/api/util\"\n+\texplatest \"k8s.io/kubernetes/pkg/expapi/latest\"\n \t\"k8s.io/kubernetes/pkg/runtime\"\n )\n \n-// Version returns the API version to test against, as set by the KUBE_API_VERSION env var.\n-func Version() string {\n-\tversion := os.Getenv(\"KUBE_API_VERSION\")\n-\tif version == \"\" {\n-\t\tversion = latest.Version\n+var All = make(map[string]TestGroup)\n+var Default TestGroup\n+var Experimental TestGroup\n+\n+type TestGroup struct {\n+\tGroup string\n+\t// in the format of \"group/version\"\n+\tGroupVersionUnderTest string\n+}\n+\n+func init() {\n+\tkubeTestAPI := os.Getenv(\"KUBE_TEST_API\")\n+\tif kubeTestAPI != \"\" {\n+\t\ttestGroupVersions := strings.Split(kubeTestAPI, \",\")\n+\t\tfor _, groupVersion := range testGroupVersions {\n+\t\t\t// TODO: caesarxuchao: the apiutil package is hacky, it will be replaced\n+\t\t\t// by a following PR.\n+\t\t\tAll[apiutil.GetGroup(groupVersion)] =\n+\t\t\t\tTestGroup{apiutil.GetGroup(groupVersion), groupVersion}\n+\t\t}\n+\t}\n+\n+\t// TODO: caesarxuchao: we need a central place to store all available API\n+\t// groups and their metadata.\n+\tif _, ok := All[\"\"]; !ok {\n+\t\t// TODO: will be latest.GroupVersion after we have multiple group\n+\t\t// support\n+\t\tAll[\"\"] = TestGroup{\"\", latest.Version}\n \t}\n-\treturn version\n+\tif _, ok := All[\"experimental\"]; !ok {\n+\t\tAll[\"experimental\"] = TestGroup{\"experimental\", explatest.Version}\n+\t}\n+\n+\tDefault = All[\"\"]\n+\tExperimental = All[\"experimental\"]\n+}\n+\n+// Version returns the API version to test against, as set by the KUBE_TEST_API env var.\n+func (g TestGroup) Version() string {\n+\treturn apiutil.GetVersion(g.GroupVersionUnderTest)\n+}\n+\n+// GroupAndVersion returns the API version to test against for a group, as set\n+// by the KUBE_TEST_API env var.\n+// Return value is in the form of \"group/version\".\n+func (g TestGroup) GroupAndVersion() string {\n+\treturn g.GroupVersionUnderTest\n }\n \n // Codec returns the codec for the API version to test against, as set by the\n-// KUBE_API_VERSION env var.\n-func Codec() runtime.Codec {\n-\tinterfaces, err := latest.InterfacesFor(Version())\n-\tif err != nil {\n-\t\tpanic(err)\n+// KUBE_TEST_API env var.\n+func (g TestGroup) Codec() runtime.Codec {\n+\tif g.Group == \"\" {\n+\t\tinterfaces, err := latest.InterfacesFor(g.GroupVersionUnderTest)\n+\t\tif err != nil {\n+\t\t\tpanic(err)\n+\t\t}\n+\t\treturn interfaces.Codec\n \t}\n-\treturn interfaces.Codec\n+\tif g.Group == \"experimental\" {\n+\t\tinterfaces, err := explatest.InterfacesFor(g.GroupVersionUnderTest)\n+\t\tif err != nil {\n+\t\t\tpanic(err)\n+\t\t}\n+\t\treturn interfaces.Codec\n+\t}\n+\tpanic(fmt.Errorf(\"cannot test group %s\", g.Group))\n }\n \n // Converter returns the api.Scheme for the API version to test against, as set by the\n-// KUBE_API_VERSION env var.\n-func Converter() runtime.ObjectConvertor {\n-\tinterfaces, err := latest.InterfacesFor(Version())\n-\tif err != nil {\n-\t\tpanic(err)\n+// KUBE_TEST_API env var.\n+func (g TestGroup) Converter() runtime.ObjectConvertor {\n+\tif g.Group == \"\" {\n+\t\tinterfaces, err := latest.InterfacesFor(g.GroupVersionUnderTest)\n+\t\tif err != nil {\n+\t\t\tpanic(err)\n+\t\t}\n+\t\treturn interfaces.ObjectConvertor\n+\t}\n+\tif g.Group == \"experimental\" {\n+\t\tinterfaces, err := explatest.InterfacesFor(g.GroupVersionUnderTest)\n+\t\tif err != nil {\n+\t\t\tpanic(err)\n+\t\t}\n+\t\treturn interfaces.ObjectConvertor\n \t}\n-\treturn interfaces.ObjectConvertor\n+\tpanic(fmt.Errorf(\"cannot test group %s\", g.Group))\n+\n }\n \n // MetadataAccessor returns the MetadataAccessor for the API version to test against,\n-// as set by the KUBE_API_VERSION env var.\n-func MetadataAccessor() meta.MetadataAccessor {\n-\tinterfaces, err := latest.InterfacesFor(Version())\n-\tif err != nil {\n-\t\tpanic(err)\n+// as set by the KUBE_TEST_API env var.\n+func (g TestGroup) MetadataAccessor() meta.MetadataAccessor {\n+\tif g.Group == \"\" {\n+\t\tinterfaces, err := latest.InterfacesFor(g.GroupVersionUnderTest)\n+\t\tif err != nil {\n+\t\t\tpanic(err)\n+\t\t}\n+\t\treturn interfaces.MetadataAccessor\n+\t}\n+\tif g.Group == \"experimental\" {\n+\t\tinterfaces, err := explatest.InterfacesFor(g.GroupVersionUnderTest)\n+\t\tif err != nil {\n+\t\t\tpanic(err)\n+\t\t}\n+\t\treturn interfaces.MetadataAccessor\n \t}\n-\treturn interfaces.MetadataAccessor\n+\tpanic(fmt.Errorf(\"cannot test group %s\", g.Group))\n }\n \n // SelfLink returns a self link that will appear to be for the version Version().\n // 'resource' should be the resource path, e.g. \"pods\" for the Pod type. 'name' should be\n // empty for lists.\n-func SelfLink(resource, name string) string {\n+func (g TestGroup) SelfLink(resource, name string) string {\n \tif name == \"\" {\n-\t\treturn fmt.Sprintf(\"/api/%s/%s\", Version(), resource)\n+\t\treturn fmt.Sprintf(\"/api/%s/%s\", g.Version(), resource)","path":"pkg/api/testapi/testapi.go","position":159,"original_position":159,"commit_id":"78a7b4d75fca1cae73ab2919c26b0e12a3302855","original_commit_id":"78a7b4d75fca1cae73ab2919c26b0e12a3302855","user":{"login":"caesarxuchao","id":2823529,"avatar_url":"https://avatars.githubusercontent.com/u/2823529?v=3","gravatar_id":"","url":"https://api.github.com/users/caesarxuchao","html_url":"https://github.com/caesarxuchao","followers_url":"https://api.github.com/users/caesarxuchao/followers","following_url":"https://api.github.com/users/caesarxuchao/following{/other_user}","gists_url":"https://api.github.com/users/caesarxuchao/gists{/gist_id}","starred_url":"https://api.github.com/users/caesarxuchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesarxuchao/subscriptions","organizations_url":"https://api.github.com/users/caesarxuchao/orgs","repos_url":"https://api.github.com/users/caesarxuchao/repos","events_url":"https://api.github.com/users/caesarxuchao/events{/privacy}","received_events_url":"https://api.github.com/users/caesarxuchao/received_events","type":"User","site_admin":false},"body":"Thank you for catching it. I will fix it.","created_at":"2015-09-04T17:13:19Z","updated_at":"2015-09-04T17:13:19Z","html_url":"https://github.com/kubernetes/kubernetes/pull/13581#discussion_r38773128","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13581","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/38773128"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/13581#discussion_r38773128"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13581"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13581","id":44189106,"html_url":"https://github.com/kubernetes/kubernetes/pull/13581","diff_url":"https://github.com/kubernetes/kubernetes/pull/13581.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/13581.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13581","number":13581,"state":"open","locked":false,"title":"Supersede #13466, Preparing our test utilities for multiple API groups","user":{"login":"caesarxuchao","id":2823529,"avatar_url":"https://avatars.githubusercontent.com/u/2823529?v=3","gravatar_id":"","url":"https://api.github.com/users/caesarxuchao","html_url":"https://github.com/caesarxuchao","followers_url":"https://api.github.com/users/caesarxuchao/followers","following_url":"https://api.github.com/users/caesarxuchao/following{/other_user}","gists_url":"https://api.github.com/users/caesarxuchao/gists{/gist_id}","starred_url":"https://api.github.com/users/caesarxuchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesarxuchao/subscriptions","organizations_url":"https://api.github.com/users/caesarxuchao/orgs","repos_url":"https://api.github.com/users/caesarxuchao/repos","events_url":"https://api.github.com/users/caesarxuchao/events{/privacy}","received_events_url":"https://api.github.com/users/caesarxuchao/received_events","type":"User","site_admin":false},"body":"ref #13466 \r\n\r\n@lavalamp","created_at":"2015-09-04T07:14:49Z","updated_at":"2015-09-04T17:13:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"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,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13581/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13581/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13581/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/78a7b4d75fca1cae73ab2919c26b0e12a3302855","head":{"label":"caesarxuchao:APIGroup-testapi-2","ref":"APIGroup-testapi-2","sha":"78a7b4d75fca1cae73ab2919c26b0e12a3302855","user":{"login":"caesarxuchao","id":2823529,"avatar_url":"https://avatars.githubusercontent.com/u/2823529?v=3","gravatar_id":"","url":"https://api.github.com/users/caesarxuchao","html_url":"https://github.com/caesarxuchao","followers_url":"https://api.github.com/users/caesarxuchao/followers","following_url":"https://api.github.com/users/caesarxuchao/following{/other_user}","gists_url":"https://api.github.com/users/caesarxuchao/gists{/gist_id}","starred_url":"https://api.github.com/users/caesarxuchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesarxuchao/subscriptions","organizations_url":"https://api.github.com/users/caesarxuchao/orgs","repos_url":"https://api.github.com/users/caesarxuchao/repos","events_url":"https://api.github.com/users/caesarxuchao/events{/privacy}","received_events_url":"https://api.github.com/users/caesarxuchao/received_events","type":"User","site_admin":false},"repo":{"id":34024678,"name":"kubernetes","full_name":"caesarxuchao/kubernetes","owner":{"login":"caesarxuchao","id":2823529,"avatar_url":"https://avatars.githubusercontent.com/u/2823529?v=3","gravatar_id":"","url":"https://api.github.com/users/caesarxuchao","html_url":"https://github.com/caesarxuchao","followers_url":"https://api.github.com/users/caesarxuchao/followers","following_url":"https://api.github.com/users/caesarxuchao/following{/other_user}","gists_url":"https://api.github.com/users/caesarxuchao/gists{/gist_id}","starred_url":"https://api.github.com/users/caesarxuchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesarxuchao/subscriptions","organizations_url":"https://api.github.com/users/caesarxuchao/orgs","repos_url":"https://api.github.com/users/caesarxuchao/repos","events_url":"https://api.github.com/users/caesarxuchao/events{/privacy}","received_events_url":"https://api.github.com/users/caesarxuchao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caesarxuchao/kubernetes","description":"Container Cluster Manager from Google","fork":true,"url":"https://api.github.com/repos/caesarxuchao/kubernetes","forks_url":"https://api.github.com/repos/caesarxuchao/kubernetes/forks","keys_url":"https://api.github.com/repos/caesarxuchao/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caesarxuchao/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caesarxuchao/kubernetes/teams","hooks_url":"https://api.github.com/repos/caesarxuchao/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/caesarxuchao/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/caesarxuchao/kubernetes/events","assignees_url":"https://api.github.com/repos/caesarxuchao/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/caesarxuchao/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/caesarxuchao/kubernetes/tags","blobs_url":"https://api.github.com/repos/caesarxuchao/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caesarxuchao/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caesarxuchao/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/caesarxuchao/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caesarxuchao/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/caesarxuchao/kubernetes/languages","stargazers_url":"https://api.github.com/repos/caesarxuchao/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/caesarxuchao/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/caesarxuchao/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/caesarxuchao/kubernetes/subscription","commits_url":"https://api.github.com/repos/caesarxuchao/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/caesarxuchao/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/caesarxuchao/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/caesarxuchao/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/caesarxuchao/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/caesarxuchao/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caesarxuchao/kubernetes/merges","archive_url":"https://api.github.com/repos/caesarxuchao/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caesarxuchao/kubernetes/downloads","issues_url":"https://api.github.com/repos/caesarxuchao/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/caesarxuchao/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/caesarxuchao/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/caesarxuchao/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caesarxuchao/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/caesarxuchao/kubernetes/releases{/id}","created_at":"2015-04-15T23:57:43Z","updated_at":"2015-05-07T17:21:06Z","pushed_at":"2015-09-04T07:12:50Z","git_url":"git://github.com/caesarxuchao/kubernetes.git","ssh_url":"git@github.com:caesarxuchao/kubernetes.git","clone_url":"https://github.com/caesarxuchao/kubernetes.git","svn_url":"https://github.com/caesarxuchao/kubernetes","homepage":"http://kubernetes.io","size":106762,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"57e35b794f7e73231b662b805aeb081c24bec8f2","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"kubernetes/kubernetes","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-09-04T15:43:03Z","pushed_at":"2015-09-04T17:11:40Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"http://kubernetes.io","size":403797,"stargazers_count":10065,"watchers_count":10065,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2447,"mirror_url":null,"open_issues_count":1686,"forks":2447,"open_issues":1686,"watchers":10065,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13581"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/13581"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/13581"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/13581/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13581/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13581/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/78a7b4d75fca1cae73ab2919c26b0e12a3302855"}}}}