Using command-line utility kubectl
we can list a custom resource instances as follows
kubectl get <customresource_kind>
In a similar fashion, do we have a REST API to achieve the same? i.e. the API takes the Kind of the CustomResource and lists all the instances created?
I am referring to this API Reference : https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/