{"comment":{"url":"https://api.github.com/repos/pweil-/origin/comments/13628844","html_url":"https://github.com/pweil-/origin/commit/cb7ce2171d5475a5ae5d0fce80496f4b693620fb#commitcomment-13628844","id":13628844,"user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"position":4,"line":8782,"path":"api/swagger-spec/oapi-v1.json","commit_id":"cb7ce2171d5475a5ae5d0fce80496f4b693620fb","created_at":"2015-10-07T01:04:18Z","updated_at":"2015-10-07T01:04:18Z","body":"The new OC still needs to return SCC as the kind when you fetch\n/api/v1/securitycontextconstraints.  If we don't, that's an API break.  We\nhave to have a backwards compatible type registered as a conversion.\n\n\nOn Tue, Oct 6, 2015 at 2:01 PM, Paul Weil <notifications@github.com> wrote:\n\n> it still exists under the /api prefix, are you looking for something\n> specific?\n>\n>\n> https://github.com/pweil-/origin/blob/cb7ce2171d5475a5ae5d0fce80496f4b693620fb/api/swagger-spec/api-v1.json#L11409\n>\n> [pweil@localhost origin]$ ./old-oc get psp --loglevel=6\n> F1006 14:01:27.406527   18157 helpers.go:95] error: no resource \"psp\" has been defined\n>\n> [pweil@localhost origin]$ ./old-oc get scc --loglevel=6\n> I1006 13:58:42.334869   17923 debugging.go:120] GET https://192.168.1.139:8443/api 200 OK in 18 milliseconds\n> I1006 13:58:42.336982   17923 debugging.go:120] GET https://192.168.1.139:8443/api/v1/securitycontextconstraints 200 OK in 1 milliseconds\n> NAME         PRIV      CAPS      HOSTDIR   SELINUX     RUNASUSER\n> privileged   true      []        true      RunAsAny    RunAsAny\n> restricted   false     []        false     MustRunAs   MustRunAsRange\n>\n> [pweil@localhost origin]$ ./old-oc get scc --loglevel=6 -o json\n> I1006 13:59:40.086394   18010 debugging.go:120] GET https://192.168.1.139:8443/api 200 OK in 17 milliseconds\n> I1006 13:59:40.087582   18010 debugging.go:120] GET https://192.168.1.139:8443/api 200 OK in 0 milliseconds\n> I1006 13:59:40.089371   18010 debugging.go:120] GET https://192.168.1.139:8443/api/v1/securitycontextconstraints 200 OK in 1 milliseconds\n> {\n>     \"kind\": \"List\",\n>     \"apiVersion\": \"v1\",\n>     \"metadata\": {},\n>     \"items\": [\n>         {\n>             \"kind\": \"SecurityContextConstraints\",\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/pweil-/origin/commit/cb7ce2171d5475a5ae5d0fce80496f4b693620fb#commitcomment-13621234>\n> .\n>\n"}}