2.2. API endpoints
The following API endpoints are available:
/apis/apiregistration.k8s.io/v1/apiservices-
DELETE: delete collection of APIService -
GET: list or watch objects of kind APIService -
POST: create an APIService
-
/apis/apiregistration.k8s.io/v1/watch/apiservices-
GET: watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead.
-
/apis/apiregistration.k8s.io/v1/apiservices/{name}-
DELETE: delete an APIService -
GET: read the specified APIService -
PATCH: partially update the specified APIService -
PUT: replace the specified APIService
-
/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}-
GET: watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
-
/apis/apiregistration.k8s.io/v1/apiservices/{name}/status-
GET: read status of the specified APIService -
PATCH: partially update status of the specified APIService -
PUT: replace status of the specified APIService
-
2.2.1. /apis/apiregistration.k8s.io/v1/apiservices 复制链接链接已复制到粘贴板!
- HTTP method
-
DELETE - Description
- delete collection of APIService
| Parameter | Type | Description |
|---|---|---|
|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
| HTTP code | Reponse body |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | Empty |
- HTTP method
-
GET - Description
- list or watch objects of kind APIService
| HTTP code | Reponse body |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | Empty |
- HTTP method
-
POST - Description
- create an APIService
| Parameter | Type | Description |
|---|---|---|
|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
|
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. |
| Parameter | Type | Description |
|---|---|---|
|
|
|
| HTTP code | Reponse body |
|---|---|
| 200 - OK |
|
| 201 - Created |
|
| 202 - Accepted |
|
| 401 - Unauthorized | Empty |