4.2. API endpoints
The following API endpoints are available:
/apis/metal3.io/v1alpha1/dataimages-
GET: list objects of kind DataImage
-
/apis/metal3.io/v1alpha1/namespaces/{namespace}/dataimages-
DELETE: delete collection of DataImage -
GET: list objects of kind DataImage -
POST: create a DataImage
-
/apis/metal3.io/v1alpha1/namespaces/{namespace}/dataimages/{name}-
DELETE: delete a DataImage -
GET: read the specified DataImage -
PATCH: partially update the specified DataImage -
PUT: replace the specified DataImage
-
/apis/metal3.io/v1alpha1/namespaces/{namespace}/dataimages/{name}/status-
GET: read status of the specified DataImage -
PATCH: partially update status of the specified DataImage -
PUT: replace status of the specified DataImage
-
4.2.1. /apis/metal3.io/v1alpha1/dataimages 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
- HTTP method
-
GET - Description
- list objects of kind DataImage
| HTTP code | Reponse body |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | Empty |