11.2. API endpoints
The following API endpoints are available:
/apis/infrastructure.cluster.x-k8s.io/v1beta1/metal3remediationtemplates-
GET: list objects of kind Metal3RemediationTemplate
-
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/metal3remediationtemplates-
DELETE: delete collection of Metal3RemediationTemplate -
GET: list objects of kind Metal3RemediationTemplate -
POST: create a Metal3RemediationTemplate
-
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/metal3remediationtemplates/{name}-
DELETE: delete a Metal3RemediationTemplate -
GET: read the specified Metal3RemediationTemplate -
PATCH: partially update the specified Metal3RemediationTemplate -
PUT: replace the specified Metal3RemediationTemplate
-
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/metal3remediationtemplates/{name}/status-
GET: read status of the specified Metal3RemediationTemplate -
PATCH: partially update status of the specified Metal3RemediationTemplate -
PUT: replace status of the specified Metal3RemediationTemplate
-
- HTTP method
-
GET - Description
- list objects of kind Metal3RemediationTemplate
| HTTP code | Reponse body |
|---|---|
| 200 - OK | |
| 401 - Unauthorized | Empty |