25.2. API endpoints
The following API endpoints are available:
/apis/k8s.cni.cncf.io/v1/network-attachment-definitions-
GET: list objects of kind NetworkAttachmentDefinition
-
/apis/k8s.cni.cncf.io/v1/namespaces/{namespace}/network-attachment-definitions-
DELETE: delete collection of NetworkAttachmentDefinition -
GET: list objects of kind NetworkAttachmentDefinition -
POST: create a NetworkAttachmentDefinition
-
/apis/k8s.cni.cncf.io/v1/namespaces/{namespace}/network-attachment-definitions/{name}-
DELETE: delete a NetworkAttachmentDefinition -
GET: read the specified NetworkAttachmentDefinition -
PATCH: partially update the specified NetworkAttachmentDefinition -
PUT: replace the specified NetworkAttachmentDefinition
-
- HTTP method
-
GET - Description
- list objects of kind NetworkAttachmentDefinition
| HTTP code | Reponse body |
|---|---|
| 200 - OK | |
| 401 - Unauthorized | Empty |