17.2. API endpoints
The following API endpoints are available:
/apis/config.openshift.io/v1/imagepolicies-
GET: list objects of kind ImagePolicy
-
/apis/config.openshift.io/v1/namespaces/{namespace}/imagepolicies-
DELETE: delete collection of ImagePolicy -
GET: list objects of kind ImagePolicy -
POST: create an ImagePolicy
-
/apis/config.openshift.io/v1/namespaces/{namespace}/imagepolicies/{name}-
DELETE: delete an ImagePolicy -
GET: read the specified ImagePolicy -
PATCH: partially update the specified ImagePolicy -
PUT: replace the specified ImagePolicy
-
/apis/config.openshift.io/v1/namespaces/{namespace}/imagepolicies/{name}/status-
GET: read status of the specified ImagePolicy -
PATCH: partially update status of the specified ImagePolicy -
PUT: replace status of the specified ImagePolicy
-
17.2.1. /apis/config.openshift.io/v1/imagepolicies 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
- HTTP method
-
GET - Description
- list objects of kind ImagePolicy
| HTTP code | Reponse body |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | Empty |