For example, for the kubernetes pod , it is something like this ( copied from a book , but the author did not mention from where can I get this , he says , the openAPI sepcification) :
{
"name": "pods",
"singularName": "",
"namespaced": true,
"kind": "Pod",
"verbs": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"proxy",
"update",
"watch"
],
"shortNames": [
"po"
],
"categories": [
"all"
]
How and from where can I get this for other kubernetes objects like RS , SVC , Deployments etc