Hide Forgot
Document URL: https://access.redhat.com/documentation/en/openshift-enterprise/version-3.1/rest-api-reference/#v1-objectfieldselector Section Number and Name: 2.3.137. v1.ObjectFieldSelector Describe the issue: There isn't any mention of how we can use fieldSelector, no syntax provided. Also, which all parameters/spec we can select with this fieldSelector when calling any api call. Suggestions for improvement: Additional information: Some of the examples I tried are as below : GET https://localhost:8443/api/v1/pods?fieldSelector=spec.host=node1.example.com GET https://localhost:8443/api/v1/nodes?fieldSelector=metadata.name=node1.example.com GET https://localhost:8443/api/v1/namespaces/default/endpoints?fieldSelector=metadata.name=router GET https://localhost:8443/api/v1/namespaces/default/pods?fieldSelector=metadata.name=docker-registry-1-urb5n However, this doesn't seem to be working with services. Hence need a proper documentation on this where it is supported and which parameters can be selected using this.