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