{ "opencollection": "1.0.0", "info": { "name": "Kubernetes Services Kubernetes EndpointSlices API", "version": "v1.32.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "EndpointSlices", "type": "folder" }, "items": [ { "info": { "name": "Kubernetes Services List EndpointSlices in a namespace", "type": "http" }, "http": { "method": "GET", "url": "https://kubernetes.default.svc/apis/discovery.k8s.io/v1/namespaces/:namespace/endpointslices", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Namespace name to scope the request." }, { "name": "labelSelector", "value": "", "type": "query", "description": "Label selector expression. Use kubernetes.io/service-name= to retrieve slices for a specific Service." }, { "name": "fieldSelector", "value": "", "type": "query", "description": "Field selector to filter resources." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of items to return." }, { "name": "continue", "value": "", "type": "query", "description": "Pagination continuation token." }, { "name": "watch", "value": "", "type": "query", "description": "If true, stream watch events." } ] }, "docs": "Returns a list of all EndpointSlices in the specified namespace. Each EndpointSlice contains up to 1000 endpoints. Use the kubernetes.io/service-name label selector to retrieve slices for a specific Service." }, { "info": { "name": "Kubernetes Services Create an EndpointSlice", "type": "http" }, "http": { "method": "POST", "url": "https://kubernetes.default.svc/apis/discovery.k8s.io/v1/namespaces/:namespace/endpointslices", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Namespace name to scope the request." }, { "name": "dryRun", "value": "", "type": "query", "description": "If 'All', validates without persisting." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new EndpointSlice in the specified namespace. EndpointSlices are typically managed by the EndpointSlice controller; manual creation is used for custom service implementations. The kubernetes.io/service-name label must be set to associate the slice with a Service." }, { "info": { "name": "Kubernetes Services Get an EndpointSlice", "type": "http" }, "http": { "method": "GET", "url": "https://kubernetes.default.svc/apis/discovery.k8s.io/v1/namespaces/:namespace/endpointslices/:name", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Namespace name to scope the request." }, { "name": "name", "value": "", "type": "path", "description": "Name of the EndpointSlice resource." } ] }, "docs": "Returns the specified EndpointSlice including its address type, endpoints with IP addresses and readiness conditions, and port definitions." }, { "info": { "name": "Kubernetes Services Replace an EndpointSlice", "type": "http" }, "http": { "method": "PUT", "url": "https://kubernetes.default.svc/apis/discovery.k8s.io/v1/namespaces/:namespace/endpointslices/:name", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Namespace name to scope the request." }, { "name": "name", "value": "", "type": "path", "description": "Name of the EndpointSlice resource." }, { "name": "dryRun", "value": "", "type": "query", "description": "If 'All', validates without persisting." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replaces the full specification of the specified EndpointSlice. Used by custom endpoint controllers to update endpoint addresses and readiness conditions." }, { "info": { "name": "Kubernetes Services Patch an EndpointSlice", "type": "http" }, "http": { "method": "PATCH", "url": "https://kubernetes.default.svc/apis/discovery.k8s.io/v1/namespaces/:namespace/endpointslices/:name", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Namespace name to scope the request." }, { "name": "name", "value": "", "type": "path", "description": "Name of the EndpointSlice resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Applies a partial update to the specified EndpointSlice. Used to update individual endpoint readiness conditions or topology hints without replacing the entire slice." }, { "info": { "name": "Kubernetes Services Delete an EndpointSlice", "type": "http" }, "http": { "method": "DELETE", "url": "https://kubernetes.default.svc/apis/discovery.k8s.io/v1/namespaces/:namespace/endpointslices/:name", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Namespace name to scope the request." }, { "name": "name", "value": "", "type": "path", "description": "Name of the EndpointSlice resource." } ] }, "docs": "Deletes the specified EndpointSlice. The EndpointSlice controller will recreate a replacement slice if the Service still has backing pods." }, { "info": { "name": "Kubernetes Services List EndpointSlices across all namespaces", "type": "http" }, "http": { "method": "GET", "url": "https://kubernetes.default.svc/apis/discovery.k8s.io/v1/endpointslices", "params": [ { "name": "labelSelector", "value": "", "type": "query", "description": "Label selector expression. Use kubernetes.io/service-name= to retrieve slices for a specific Service." }, { "name": "fieldSelector", "value": "", "type": "query", "description": "Field selector to filter resources." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of items to return." }, { "name": "watch", "value": "", "type": "query", "description": "If true, stream watch events." } ] }, "docs": "Returns all EndpointSlice objects cluster-wide. Useful for network visibility tools and load balancer implementations that need to enumerate all service endpoints across the cluster." } ] } ], "bundled": true }