Get the list of interfaces of the device
GET {{baseUrl}}/api/v2/ndm/interfaces?device_id=example:1.2.3.4
Get the list of interfaces of the device.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
device_id | string | (Required) The ID of the device to get interfaces from. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":[{"attributes":{"alias":"interface_0","description":"a network interface","index":0,"mac_address":"00:00:00:00:00:00","name":"if0","status":"up"},"id":"example:1.2.3.4:99","type":"nisi"},{"attributes":{"alias":"interface_0","description":"a network interface","index":0,"mac_address":"00:00:00:00:00:00","name":"if0","status":"up"},"id":"example:1.2.3.4:99","type":"dolor Ut ut mollit"}]}