GET/api/v2/targets/{id}/k8s/resource-types
targets:readAPI token
Retrieve the resource types the Kubernetes target serves, read live from the cluster API discovery. Subresources and types without the list verb are left out. custom is true for types of API groups outside Kubernetes itself, such as the custom resources of operators. category names the owner of the API group, which is Kubernetes itself, Kubernetes add-ons for the other k8s.io projects such as Gateway API or volume snapshots, a known product such as Deckhouse, Cilium or cert-manager, or the domain of the API group when the product is not known. Items come ordered by category, Kubernetes first, then by kind.
Parameters
Path1 required of 1
idstringpathrequired
Target ID (UUID)
Responses
200
OK
ListK8sResourceTypesResponse · 2 fields
7 fields
api_groupstringrequired
2 fields
idstringrequired
labelstringrequired
custombooleanrequired
kindstringrequired
namespacedbooleanrequired
resourcestringrequired
versionstringrequired
totalintegerrequired
Common errors: 400 401 403 404 429 504. They mean the same for every operation, see Errors.