13.2. API endpoints
The following API endpoints are available:
/apis/discovery.k8s.io/v1/endpointslices-
GET: list or watch objects of kind EndpointSlice
-
/apis/discovery.k8s.io/v1/watch/endpointslices-
GET: watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.
-
/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices-
DELETE: delete collection of EndpointSlice -
GET: list or watch objects of kind EndpointSlice -
POST: create an EndpointSlice
-
/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices-
GET: watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.
-
/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}-
DELETE: delete an EndpointSlice -
GET: read the specified EndpointSlice -
PATCH: partially update the specified EndpointSlice -
PUT: replace the specified EndpointSlice
-
/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}-
GET: watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
-
13.2.1. /apis/discovery.k8s.io/v1/endpointslices 复制链接链接已复制到粘贴板!
- HTTP method
-
GET - Description
- list or watch objects of kind EndpointSlice
| HTTP code | Reponse body |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | Empty |